10-09-2009 02:18 AM
Since the Screen's onClose() is just that - screen's - does not quite work for an application in the whole.
deactivate() does not even get a chance to run on terminate.
Is there a solid way to figure out if your application is closing to run some cleanup code?
10-09-2009 03:48 AM
10-09-2009 04:04 AM
10-09-2009 04:51 AM
There are many reasons why would application terminate, including system initiated shutdown. Hooking up to the active screen is not solid since there may be many screens controlled by an application, and you'd need to add that close() to all of them. Does not seem overly convenient.
BB IS an event driven architecture so there should basically be events for everything. Or at least I believe so.
10-09-2009 05:35 AM
10-09-2009 08:07 AM