Index: src/views/mac/skia_mac.mm |
diff --git a/src/views/mac/skia_mac.mm b/src/views/mac/skia_mac.mm |
index e3c31c40f6084ca555c7419f2e98aa8efe5394c0..393e6d81414a7499763b2946dd747f361f57d01e 100644 |
--- a/src/views/mac/skia_mac.mm |
+++ b/src/views/mac/skia_mac.mm |
@@ -14,7 +14,11 @@ int main(int argc, char *argv[]) { |
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; |
application_init(); |
int retVal = NSApplicationMain(argc, (const char **)argv); |
+ |
+#if 0 |
+ // we don't expect NSApplicationMain to return. See our applicationShouldTerminate handler. |
application_term(); |
[pool release]; |
+#endif |
return retVal; |
} |