VirtualBox

Changeset 21135 in vbox for trunk


Ignore:
Timestamp:
Jul 1, 2009 4:48:21 PM (16 years ago)
Author:
vboxsync
Message:

log.cpp: Fixed assertion if RTLogDestroy is called during linux module init (preemption is disabled). Also fixed fatal log lock recursion if it needed flushing during destruction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r20859 r21135  
    575575     */
    576576    rc = rtlogLock(pLogger);
    577     AssertRCReturn(rc, rc);
     577    AssertMsgReturn(RT_SUCCESS(rc) || rc == VERR_PREEMPT_DISABLED, ("%Rrc\n", rc), rc);
    578578
    579579    pLogger->fFlags |= RTLOGFLAGS_DISABLED;
     
    585585     * Flush it.
    586586     */
    587     RTLogFlush(pLogger);
     587    rtlogFlush(pLogger);
    588588
    589589    /*
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