[vlc-commits] macosx: Properly close VLCDialogWindow

Marvin Scholz git at videolan.org
Fri Feb 16 16:13:34 CET 2018


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Feb 16 16:08:54 2018 +0100| [1afe6853b4636e9fec025be6772ae6cbd9b10c47] | committer: Marvin Scholz

macosx: Properly close VLCDialogWindow

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

(cherry picked from commit 96d373800cbd6533760a434fe1c6dd00f947a6b3)
Signed-off-by: Marvin Scholz <epirat07 at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=1afe6853b4636e9fec025be6772ae6cbd9b10c47
---

 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