Commit 9bf1c2ea authored by Felix Paul Kühne's avatar Felix Paul Kühne

add sanity check

parent 0c8eec04
......@@ -343,7 +343,8 @@ static void * EventDispatcherMainLoop(void * user_data)
// Check that we were not cancelled
if ([self markMessageHandledOnMainThreadIfExists:message]) {
void (*method)(id, SEL, id) = (void (*)(id, SEL, id))[ methodForSelector: message.sel];
method(, message.sel, message.object);
if ( && message.sel)
method(, message.sel, message.object);
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