VirtualBox

Changeset 47532 in vbox for trunk/src


Ignore:
Timestamp:
Aug 3, 2013 7:50:59 PM (11 years ago)
Author:
vboxsync
Message:

Teleport: Release write lock for the console object when powering the teleport source off, fixes deadlock causing a hanging VM process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImplTeleporter.cpp

    r47528 r47532  
    812812
    813813        pState->mptrConsole->mVMIsAlreadyPoweringOff = true; /* (Make sure we stick in the TeleportingPausedVM state.) */
     814        autoLock.release();
     815
    814816        hrc = pState->mptrConsole->powerDown();
     817
     818        autoLock.acquire();
    815819        pState->mptrConsole->mVMIsAlreadyPoweringOff = false;
    816820
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