changeset 13119:8564f0979fcb

fix crash when using close button
author nplourde
date Tue, 24 Aug 2004 17:40:31 +0000
parents 23971209fd32
children 3c861fe67ff2
files libvo/vo_quartz.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_quartz.c	Tue Aug 24 17:24:31 2004 +0000
+++ b/libvo/vo_quartz.c	Tue Aug 24 17:40:31 2004 +0000
@@ -213,6 +213,7 @@
 		{
 			//close window
 			case kEventWindowClosed:
+				uninit();
 				mplayer_put_key(KEY_ESC);
 				break;