- Timestamp:
- Oct 12, 2007 6:02:48 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25266
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r5150 r5272 353 353 */ 354 354 uninitDependentChildren(); 355 356 /* This should be the first, since this may cause detaching remote USB devices. */357 if (mConsoleVRDPServer)358 {359 mConsoleVRDPServer->Stop ();360 /* Do not delete the mConsoleVRDPServer yet, it could be called361 * since the VM may be not powered done at the moment.362 */363 }364 355 365 356 /* power down the VM if necessary */ … … 3900 3891 /* 3901 3892 * Stop the VRDP server to prevent new clients connection while VM is being powered off. 3902 * (When called from uninit mConsoleVRDPServer is already destroyed.)3903 3893 */ 3904 3894 if (mConsoleVRDPServer) … … 3913 3903 alock.enter(); 3914 3904 } 3905 3906 3907 #ifdef VBOX_HGCM 3908 /* 3909 * Shutdown HGCM services before stopping the guest, because they might need a cleanup. 3910 */ 3911 if (mVMMDev) 3912 { 3913 LogFlowThisFunc (("Shutdown HGCM...\n")); 3914 3915 /* Leave the lock. */ 3916 alock.leave(); 3917 3918 mVMMDev->hgcmShutdown (); 3919 3920 alock.enter(); 3921 } 3922 #endif /* VBOX_HGCM */ 3915 3923 3916 3924 /* First, wait for all mpVM callers to finish their work if necessary */ -
trunk/src/VBox/Main/VMMDevInterface.cpp
r4685 r5272 91 91 VMMDev::~VMMDev() 92 92 { 93 #ifdef VBOX_HGCM94 HGCMHostShutdown ();95 #endif /* VBOX_HGCM */96 93 RTSemEventDestroy (mCredentialsEvent); 97 94 if (mpDrv) … … 568 565 return HGCMHostCall (pszServiceName, u32Function, cParms, paParms); 569 566 } 567 568 void VMMDev::hgcmShutdown (void) 569 { 570 HGCMHostShutdown (); 571 } 572 570 573 #endif /* HGCM */ 571 574 -
trunk/src/VBox/Main/include/VMMDev.h
r4071 r5272 51 51 int hgcmLoadService (const char *pszServiceName, const char *pszServiceLibrary); 52 52 int hgcmHostCall (const char *pszServiceName, uint32_t u32Function, uint32_t cParms, PVBOXHGCMSVCPARM paParms); 53 void hgcmShutdown (void); 53 54 54 55 private:
Note:
See TracChangeset
for help on using the changeset viewer.