mirror of https://github.com/mpv-player/mpv
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
|
//close window
|
||||||
case kEventWindowClosed:
|
case kEventWindowClosed:
|
||||||
|
uninit();
|
||||||
mplayer_put_key(KEY_ESC);
|
mplayer_put_key(KEY_ESC);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue