
according to the diagram,
I tried to make some service as a singleton (service 1) all over the app (shell+remote+shared lib),
service 1 is placed in shared lib.
between the shell & remote it's working (there is one instance of service 1), but when I import a module from the shared lib that use service 1 Another instance of service 1 is created.
what am I missing?
according to the diagram,
I tried to make some service as a singleton (service 1) all over the app (shell+remote+shared lib),
service 1 is placed in shared lib.
between the shell & remote it's working (there is one instance of service 1), but when I import a module from the shared lib that use service 1 Another instance of service 1 is created.
what am I missing?