The correct way to quit a Windows standalone
Paul Dupuis
paul at researchware.com
Thu May 23 11:13:07 EDT 2019
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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list