From 2479dfce8a4a56f3d67a3ec60d7f2a8db4a5fffd Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 30 Jul 2015 21:36:23 +1000 Subject: Doesn't fix the crash, but it doesn't hurt either nw --- src/osd/modules/debugger/osx/debugwindowhandler.m | 3 +++ 1 file changed, 3 insertions(+) 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]; } -- cgit v1.2.3-70-g09d2