macosx: fix crash on exit in concunction with InputEvent
For each input thread the callback for "intf-event" was registered at least twice, and never deleted correctly. Therefore this patch makes sure that we add the callback only once, and also properly delete the old one when the input changed. should close #6207, refs #6252 Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org> (cherry picked from commit 53f6bc01)
Showing
Please register or sign in to comment