Ticket #406: patch.diff

File patch.diff, 486 bytes (added by jackburton, 18 years ago)

Replaced Unlock() with UnlockFully() in BWindow destructor

  • src/kits/interface/Window.cpp

     
    357357    // The BWindow is locked when the destructor is called,
    358358    // we need to unlock because the menubar thread tries
    359359    // to post a message, which will deadlock otherwise.
    360     Unlock();
     360    UnlockFully();
    361361
    362362    // Wait if a menu is still tracking
    363363    if (fMenuSem > 0) {