Changeset 4317 in vbox for trunk/src/VBox
- Timestamp:
- Aug 23, 2007 3:18:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r4308 r4317 3880 3880 mMachineState, autoCaller.state() == InUninit)); 3881 3881 3882 /* 3883 * Stop the VRDP server to prevent new clients connection while VM is being powered off. 3884 * (When called from uninit mConsoleVRDPServer is already destroyed.) 3885 */ 3886 if (mConsoleVRDPServer) 3887 { 3888 LogFlowThisFunc (("Stopping VRDP server...\n")); 3889 3890 /* Leave the lock since EMT will call us back as addVMCaller in updateDisplayData(). */ 3891 alock.leave(); 3892 3893 mConsoleVRDPServer->Stop(); 3894 3895 alock.enter(); 3896 } 3897 3882 3898 /* First, wait for all mpVM callers to finish their work if necessary */ 3883 3899 if (mVMCallers > 0) … … 3954 3970 if (VBOX_SUCCESS (vrc) || autoCaller.state() == InUninit) 3955 3971 { 3956 /*3957 * Stop the VRDP server and release all USB device.3958 * (When called from uninit mConsoleVRDPServer is already destroyed.)3959 */3960 if (mConsoleVRDPServer)3961 {3962 LogFlowThisFunc (("Stopping VRDP server...\n"));3963 3964 /* Leave the lock since EMT will call us back as addVMCaller in updateDisplayData(). */3965 alock.leave();3966 3967 mConsoleVRDPServer->Stop();3968 3969 alock.enter();3970 }3971 3972 3972 /* If the machine has an USB comtroller, release all USB devices 3973 3973 * (symmetric to the code in captureUSBDevices()) */
Note:
See TracChangeset
for help on using the changeset viewer.