Standalones requiring force-quit (and messages?)

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 27 13:24:04 EST 2015


On 2/27/2015 11:56 AM, Dr. Hawkins wrote:
> There isn't any code that should be intercepting the quit or shutdown
> requests, but I'm wondering if the period handlers could be somehow
> blocking this?  e.g., ones like
>
> on doIt
> doSomething
> send "doIt" to me in 100 milliseconds
> end doIt
>
> This means that there are always messages in the queue; is the engine
> waiting for that to empty, or do i have something more awkward on my hands?

Pending messages will always prevent a shutdown. So will open drivers. 
You need to close everything and remove all pending messages from the 
queue. See the "cancel" command in the dictionary.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list