From d49ef7f8ceae96d339f345dacb6bdb73339d20d9 Mon Sep 17 00:00:00 2001 From: nplourde Date: Tue, 24 Aug 2004 17:40:31 +0000 Subject: fix crash when using close button git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13120 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_quartz.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3