<The second most likely reason is that the Singleton class you think is in
<the module has actually been linked into the main app.

Is that the one that gets a new model every time or old one?

On Fri, Nov 14, 2014 at 12:11 PM, Alex Harui <[email protected]> wrote:

>
>
> On 11/14/14, 9:46 AM, "mark goldin" <[email protected]> wrote:
>
> >Yes, it does bring external content and it is a module. But how come then
> >other modules are getting same models after they are unloaded and loaded
> >again?
>
> Probably because they are not fully unloading because something is keeping
> a reference to classes or instances of classes in the module.  Modules are
> class loaders, not instance loaders.  Modules do not automatically unload
> when you try to get rid of an instance created by the module.
>
> The second most likely reason is that the Singleton class you think is in
> the module has actually been linked into the main app.
>
> HTH,
> -Alex
>
>

Reply via email to