Commit a05cac87 authored by David Fuhrmann's avatar David Fuhrmann

macosx: Fix InputManager cleanup path on application shutdown

Makes sure cleanup actions like itunes playback are in correct
parent 9b475d30
......@@ -258,6 +258,12 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
- (void)playbackStatusUpdated
// On shutdown, input might not be dead yet. Cleanup actions like inhibit, itunes playback
// and playback positon are done in different code paths (dealloc and appWillTerminate:).
if ([[VLCMain sharedInstance] isTerminating]) {
intf_thread_t *p_intf = getIntf();
int state = -1;
if (p_current_input) {
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