/* It should be a good idea not to collapse event, with other kind of event in-between
* Ignore for now only if target is the same */
elseif(message_newer->target==message->target)
break;
}
if(newArg)
{
[message->u.objectrelease];
message->u.object=[newArgretain];
[newArgretain];
}
}
dataMessage=[[selfmessageQueue]lastObject];
pthread_mutex_unlock([selfqueueLock]);
if(message->type==VLCNotification)
[selfperformSelectorOnMainThread:@selector(callDelegateOfObjectAndSendNotificationWithArgs:)withObject:[dataMessageretain]/* released in the call */waitUntilDone:NO];
else
[selfperformSelectorOnMainThread:@selector(callObjectMethodWithArgs:)withObject:[dataMessageretain]/* released in the call */waitUntilDone:NO];
[selfperformSelectorOnMainThread:@selector(callObjectMethodWithArgs:)withObject:[dataMessageretain]/* released in the call */waitUntilDone:YES];