Commit 15efdb9d authored by Gleb Pinigin's avatar Gleb Pinigin Committed by Jean-Baptiste Kempf

Fix potential crash when sending notification to deallocated object

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 412c7a95
......@@ -398,6 +398,7 @@ static void OpenglESSwap(vlc_gl_t *gl)
- (void)dealloc
[[NSNotificationCenter defaultCenter] removeObserver:self];
[_eaglContext release];
[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