DestroyWindow(self->eventReceiverWindow);
SendMessage(self->eventReceiverWindow, WM_CLOSE, 0, 0);
_pl_CleanupNativeNotifier(PLEventQueue* self){#if defined(XP_MAC)#pragma unused (self)#endif#if defined(VMS)    {        unsigned int status;        PR_LOG(event_lm, PR_LOG_DEBUG,           ("$$$ Freeing event flag %d", self->efn));        status = LIB$FREE_EF(&self->efn);    }#elif defined(XP_UNIX) && !defined(XP_MACOSX)    close(self->eventPipe[0]);    close(self->eventPipe[1]);#elif defined(_WIN32)     if (self->timerSet) {      KillTimer(self->eventReceiverWindow, TIMER_ID);      self->timerSet = PR_FALSE;    }    RemoveProp(self->eventReceiverWindow, _md_GetEventQueuePropName());    DestroyWindow(self->eventReceiverWindow);#elif defined(XP_OS2)    WinDestroyWindow(self->eventReceiverWindow);#elif defined(MAC_USE_CARBON_EVENT)    EventComparatorUPP comparator = NewEventComparatorUPP(_md_CarbonEventComparator);    PR_ASSERT(comparator != NULL);    if (comparator) {      FlushSpecificEventsFromQueue(GetMainEventQueue(), comparator, self);      DisposeEventComparatorUPP(comparator);    }    DisposeEventHandlerUPP(self->eventHandlerUPP);    RemoveEventHandler(self->eventHandlerRef);#endif}