mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 10:26:09 +00:00
fix crash when using close button
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13120 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
73235f6771
commit
d49ef7f8ce
@ -213,6 +213,7 @@ static OSStatus MainEventHandler(EventHandlerCallRef nextHandler, EventRef event
|
||||
{
|
||||
//close window
|
||||
case kEventWindowClosed:
|
||||
uninit();
|
||||
mplayer_put_key(KEY_ESC);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user