diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c index 7f6207ceea..4ac3dc0c52 100644 --- a/libvo/vo_quartz.c +++ b/libvo/vo_quartz.c @@ -213,6 +213,7 @@ static OSStatus MainEventHandler(EventHandlerCallRef nextHandler, EventRef event { //close window case kEventWindowClosed: + uninit(); mplayer_put_key(KEY_ESC); break;