5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 05:11:29 +08:00

[Mac] Close window immediately on quit

This commit is contained in:
Lea Anthony 2022-03-26 19:48:34 +11:00 committed by GitHub
parent 2d2ee95c8a
commit 55f2a24a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,6 +194,7 @@ void UnMaximise(void* inctx) {
void Quit(void *inctx) {
WailsContext *ctx = (__bridge WailsContext*) inctx;
[NSApp stop:ctx];
[NSApp abortModal];
}
void Hide(void *inctx) {