儲存庫 vbox 的更動 60513
- 時間撮記:
- 2016-4-15 上午08:56:44 (9 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r59655 r60513 6 6 * server, to which clients can connect. 7 7 * 8 * Copyright (C) 2007-201 5Oracle Corporation8 * Copyright (C) 2007-2016 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 964 964 #ifdef RT_OS_WINDOWS 965 965 // Required for ATL 966 static CComModule _Module;966 static ATL::CComModule _Module; 967 967 968 968 /** … … 981 981 case CTRL_LOGOFF_EVENT: 982 982 case CTRL_SHUTDOWN_EVENT: 983 { 983 984 ASMAtomicWriteBool(&g_fKeepRunning, false); 985 com::NativeEventQueue *pQ = com::NativeEventQueue::getMainEventQueue(); 986 pQ->interruptEventQueueProcessing(); 984 987 fEventHandled = TRUE; 985 988 break; 989 } 986 990 default: 987 991 break; … … 990 994 } 991 995 #else 992 class ForceQuitEvent : public com::NativeEvent993 {994 void *handler()995 {996 LogFlowFunc(("\n"));997 998 ASMAtomicWriteBool(&g_fKeepRunning, false);999 1000 return NULL;1001 }1002 };1003 1004 996 /** 1005 997 * Signal handler for cleanly terminating the event loop. … … 1008 1000 { 1009 1001 NOREF(iSignal); 1002 ASMAtomicWriteBool(&g_fKeepRunning, false); 1010 1003 com::NativeEventQueue *pQ = com::NativeEventQueue::getMainEventQueue(); 1011 pQ-> postEvent(new ForceQuitEvent());1004 pQ->interruptEventQueueProcessing(); 1012 1005 } 1013 1006 #endif
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器