summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2015-07-30 21:36:23 +1000
committer Vas Crabb <vas@vastheman.com>2015-07-30 23:03:45 +1000
commit2479dfce8a4a56f3d67a3ec60d7f2a8db4a5fffd (patch)
tree64706773fbfdd2fc300152865dfeebec0959953d
parentd53d1ec88bde6c730ed6fb344351d3ad3d3de9cf (diff)
Doesn't fix the crash, but it doesn't hurt either nw
-rw-r--r--src/osd/modules/debugger/osx/debugwindowhandler.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/osx/debugwindowhandler.m b/src/osd/modules/debugger/osx/debugwindowhandler.m
index 5eb5060d462..a8e92bd6f5f 100644
--- a/src/osd/modules/debugger/osx/debugwindowhandler.m
+++ b/src/osd/modules/debugger/osx/debugwindowhandler.m
@@ -166,7 +166,10 @@ NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification = @"MAMEAuxiliaryD
[[NSNotificationCenter defaultCenter] removeObserver:self];
if (window != nil)
+ {
+ [window orderOut:self];
[window release];
+ }
[super dealloc];
}