mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
Do not try to detach an already detached handler
This commit is contained in:
parent
848c006a78
commit
9a2101cd70
@ -115,9 +115,6 @@ static void test_events (const char ** argv, int argc)
|
||||
libvlc_event_send (em, &event);
|
||||
assert( !callback_was_called );
|
||||
|
||||
libvlc_event_detach (em, mi_events[mi_events_len-1], test_events_callback_and_detach, &callback_was_called, &ex);
|
||||
catch ();
|
||||
|
||||
log ("+ Testing regular detach()\n");
|
||||
|
||||
for (i = 0; i < mi_events_len - 1; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user