[vlc-commits] macosx: Properly close VLCDialogWindow

Marvin Scholz git at videolan.org
Fri Feb 16 16:10:56 CET 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Feb 16 16:08:54 2018 +0100| [96d373800cbd6533760a434fe1c6dd00f947a6b3] | committer: Marvin Scholz

macosx: Properly close VLCDialogWindow

Previously, the already released Windows would stay on screen, that
should not happen.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96d373800cbd6533760a434fe1c6dd00f947a6b3
---

 modules/gui/macosx/VLCExtensionsDialogProvider.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/macosx/VLCExtensionsDialogProvider.m b/modules/gui/macosx/VLCExtensionsDialogProvider.m
index 977440a909..f85cf139f0 100644
--- a/modules/gui/macosx/VLCExtensionsDialogProvider.m
+++ b/modules/gui/macosx/VLCExtensionsDialogProvider.m
@@ -478,6 +478,7 @@ static void extensionDialogCallback(extension_dialog_t *p_ext_dialog,
     }
 
     [dialogWindow setDelegate:nil];
+    [dialogWindow close];
     dialogWindow = nil;
 
     p_dialog->p_sys_intf = NULL;



More information about the vlc-commits mailing list