It's not just fonts, anything that's still in use needs to be removed. Fonts, stacks in use, open processes, com ports, sockets, etc. Basically you need to shut down everything the stack opened.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 23, 2019 8:14:59 AM Paul Dupuis via use-livecode <use-livecode@lists.runrev.com> wrote:

If it is a requirement for any loaded fonts to be unloaded from memory
for a Standalone to actually quit under Microsoft Windows then a bug
should be entered at https://quality.livecode.com/ to update the
Dictionary entries for:

closeStackRequest
shutDownRequest
quit
start using font
stop using font

To note that any loaded font resources must be unloaded to allow a
Windows standalone to properly exit.


On 5/23/2019 10:41 AM, Eller, Roger via use-livecode wrote:
I do this to cleanly exit my Windows standalone, which is a splashscreen stack.

Because I have used a couple of fonts that I keep with the standalone, I have to STOP USING them, else the process will still continue to run.

This handler is in my visible stack, not in the standalone splashscreen stack.


on closeStackRequest

    set the itemDel to "/"

put item 1 to -2 of the effective filename of this stack & "/Resources/TrajanPro" into tPath

    put quote & tPath & "/TrajanPro-Regular.otf" & quote into tTrajanProRegular

    put quote & tPath & "/TrajanPro-Bold.otf" & quote into tTrajanProBold

    stop using font file tTrajanProRegular

    stop using font file tTrajanProBold

    close this stack

    quit

end closeStackRequest


~Roger

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



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




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

Reply via email to