VirtualBox

Changeset 4386 in vbox for trunk


Ignore:
Timestamp:
Aug 27, 2007 2:00:45 PM (17 years ago)
Author:
vboxsync
Message:

ConsoleVRDPServer termination fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r4369 r4386  
    353353    if (mConsoleVRDPServer)
    354354    {
    355         delete mConsoleVRDPServer;
    356         unconst (mConsoleVRDPServer) = NULL;
     355        mConsoleVRDPServer->Stop ();
     356        /* Do not delete the mConsoleVRDPServer yet, it could be called
     357         * since the VM may be not powered done at the moment.
     358         */
    357359    }
    358360
     
    423425        mGuest->uninit();
    424426        unconst (mGuest).setNull();;
     427    }
     428
     429    if (mConsoleVRDPServer)
     430    {
     431        delete mConsoleVRDPServer;
     432        unconst (mConsoleVRDPServer) = NULL;
    425433    }
    426434
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