Changeset 46722 in vbox for trunk/src/VBox/Main/src-server/win
- Timestamp:
- Jun 21, 2013 11:49:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/HostPowerWin.cpp
r44528 r46722 32 32 static WCHAR gachWindowClassName[] = L"VBoxPowerNotifyClass"; 33 33 34 HostPowerServiceWin::HostPowerServiceWin(VirtualBox *aVirtualBox) : HostPowerService(aVirtualBox) 34 HostPowerServiceWin::HostPowerServiceWin(VirtualBox *aVirtualBox) : HostPowerService(aVirtualBox), mThread(NIL_RTTHREAD) 35 35 { 36 36 mHwnd = 0; … … 56 56 /* Send the quit message and wait for it be processed. */ 57 57 SendMessage(mHwnd, WM_QUIT, 0, 0); 58 RTThreadWait(mThread, 5000, NULL); 59 mThread = NIL_RTTHREAD; 58 60 } 59 61 }
Note:
See TracChangeset
for help on using the changeset viewer.