« Return to Thread: Shouldn't a realm be disposed when unselecting it

Shouldn't a realm be disposed when unselecting it

by Anders Hammar :: Rate this Message:

Reply to Author | View in Thread

Hi,

I have a realm that implements Initializable and Disposable. When then
realm isn't selected at startup (in the Nexus conf), its initialize()
method isn't called. When selecting it (in runtime), it is called. So,
when de-selecting it I expected its dispose() method to be called (in
runtime), but it isn't.
Is this a bug or intended behavior? If intended behavior, how can I
tell if a realm is currently selected or not?

/Anders

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

 « Return to Thread: Shouldn't a realm be disposed when unselecting it