diff --git a/samples/Skia.OSX.Demo/AppDelegate.cs b/samples/Skia.OSX.Demo/AppDelegate.cs index 87cc0620c..634efbab1 100644 --- a/samples/Skia.OSX.Demo/AppDelegate.cs +++ b/samples/Skia.OSX.Demo/AppDelegate.cs @@ -19,6 +19,11 @@ namespace Skia.OSX.Demo { // Insert code here to tear down your application } + + public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender) + { + return true; + } } }