Commit f91b0d8e authored by Gleb Pinigin's avatar Gleb Pinigin Committed by Felix Paul Kühne
Browse files

Stop and release player in dealloc


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 8e3f7f33
...@@ -34,6 +34,9 @@ ...@@ -34,6 +34,9 @@
[_subtitleActionSheet release]; [_subtitleActionSheet release];
[_audioSwitcherButton release]; [_audioSwitcherButton release];
[_controllerPanel release]; [_controllerPanel release];
[_mediaPlayer stop];
[_mediaPlayer release];
[[NSNotificationCenter defaultCenter] removeObserver:self]; [[NSNotificationCenter defaultCenter] removeObserver:self];
[super dealloc]; [super dealloc];
} }
......
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