VirtualBox

Changeset 33720 in vbox


Ignore:
Timestamp:
Nov 3, 2010 10:54:42 AM (14 years ago)
Author:
vboxsync
Message:

EventQueue::uninit: Don't run the native mac os x runloop in default mode at this time as the GUI toolkit might not be ready for this. Instead just do ProcessPendingEvents() as this will clear any signalled native events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/EventQueue.cpp

    r31650 r33720  
    240240    /* Must process all events to make sure that no NULL event is left
    241241     * after this point. It would need to modify the state of sMainQueue. */
     242#ifdef RT_OS_DARWIN /* Do not process the native runloop, the toolkit may not be ready for it. */
     243    sMainQueue->mEventQ->ProcessPendingEvents();
     244#else
    242245    sMainQueue->processEventQueue(0);
     246#endif
    243247    delete sMainQueue;
    244248    sMainQueue = NULL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette