Commit e7f095c2 authored by David Fuhrmann's avatar David Fuhrmann

macosx: Clear logs once window is closed

Logs are not recorded in background, so do not retain old logs
to avoid confusion.
parent c3dad7ff
...@@ -136,6 +136,7 @@ static void MsgCallback(void *data, int type, const vlc_log_t *item, const char ...@@ -136,6 +136,7 @@ static void MsgCallback(void *data, int type, const vlc_log_t *item, const char
{ {
/* unsubscribe from LibVLCCore's messages */ /* unsubscribe from LibVLCCore's messages */
vlc_LogSet( VLCIntf->p_libvlc, NULL, NULL ); vlc_LogSet( VLCIntf->p_libvlc, NULL, NULL );
[_messageArray removeAllObjects];
} }
- (IBAction)saveDebugLog:(id)sender - (IBAction)saveDebugLog:(id)sender
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment