_pl_CleanupNativeNotifier(self);
if ( self->type == EventQueueIsNative ) _pl_CleanupNativeNotifier(self);
PL_DestroyEventQueue(PLEventQueue* self){    PR_EnterMonitor(self->monitor);    /* destroy undelivered events */    PL_MapEvents(self, _pl_destroyEvent, NULL);    _pl_CleanupNativeNotifier(self);    /* destroying the monitor also destroys the name */    PR_ExitMonitor(self->monitor);    PR_DestroyMonitor(self->monitor);    PR_DELETE(self);}