Standalones requiring force-quit (and messages?)

Paul G pmgresham at gmail.com
Fri Feb 27 21:09:28 CET 2015


If stack is closed while pending message queue is not empty, stack can remain
running in memory.
ie, if looping with something like "send to something in 500 milliseconds"
type loop.

I always use something like the following in a standalone...

on closeStack
  repeat until the pendingMessages is empty
  cancel item 1 of line 1 of the pendingMessages
  end repeat
end closeStack

Paul



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Standalones-requiring-force-quit-and-messages-tp4689450p4689468.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list