Commit d02ebf22 authored by Sebastien Zwickert's avatar Sebastien Zwickert Committed by Jean-Baptiste Kempf

MacOS: fixes #3825. Since [af97f24d] we need...

MacOS: fixes #3825. Since [af97f24d] we need to send a stop: message to properly exit libvlc.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 95c6e2f3
...@@ -2925,4 +2925,14 @@ end: ...@@ -2925,4 +2925,14 @@ end:
b_justJumped = NO; b_justJumped = NO;
} }
// when user selects the quit menu from dock it sends a terminate:
// but we need to send a stop: to properly exits libvlc.
// However, we are not able to change the action-method sent by this standard menu item.
// thus we override terminat: to send a stop:
// see [af97f24d528acab89969d6541d83f17ce1ecd580] that introduced the removal of setjmp() and longjmp()
- (void)terminate:(id)sender
{
[self stop:sender];
}
@end @end
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