On 5/8/13 8:52 AM, Ben Rubinstein wrote:

For now, I've rewritten things so that the prefs stack is opened,
everything is moved to globals, then the stack is immediately closed and
removed from memory; and on shutdown, the prefs stack is opened again,
globals are moved to properties, the stack is saved and then closed.

This restores normal message routing - is it the best solution?

I usually just reset the defaultstack. The topstack isn't always the defaultstack, so setting your main stack to topstack won't always work. Wrap the offending handler in a couple of lines of script that save the current defaultstack, do some work, and then reset the defaultstack.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to