[vlc-commits] macosx: fix deallocation of debug messages panel
David Fuhrmann
git at videolan.org
Thu Aug 13 21:14:08 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Aug 13 19:03:05 2015 +0200| [935361b02f3a76bb2b1ca979a4b541d5c6fc1535] | committer: David Fuhrmann
macosx: fix deallocation of debug messages panel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=935361b02f3a76bb2b1ca979a4b541d5c6fc1535
---
modules/gui/macosx/DebugMessageVisualizer.m | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/gui/macosx/DebugMessageVisualizer.m b/modules/gui/macosx/DebugMessageVisualizer.m
index d832d12..1242620 100644
--- a/modules/gui/macosx/DebugMessageVisualizer.m
+++ b/modules/gui/macosx/DebugMessageVisualizer.m
@@ -77,6 +77,11 @@ static void MsgCallback(void *data, int type, const vlc_log_t *item, const char
return self;
}
+- (void)dealloc
+{
+ vlc_LogSet( VLCIntf->p_libvlc, NULL, NULL );
+}
+
- (void)windowDidLoad
{
[self.window setExcludedFromWindowsMenu: YES];
More information about the vlc-commits
mailing list