Changeset 90053 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Jul 6, 2021 10:46:54 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/main.cpp
r86883 r90053 119 119 if (RT_FAILURE(rc)) 120 120 VBClLogFatalError("Failure while acquiring the global critical section, rc=%Rrc\n", rc); 121 if ( g_Service.pDesc 122 && g_Service.pDesc->pfnTerm) 123 g_Service.pDesc->pfnTerm(); 121 122 /* Try to gracefuly terminate a service. Service needs 123 * to be stopped first and then terminated. */ 124 if (g_Service.pDesc) 125 { 126 if (g_Service.pDesc->pfnStop) 127 g_Service.pDesc->pfnStop(); 128 129 if (g_Service.pDesc->pfnTerm) 130 g_Service.pDesc->pfnTerm(); 131 } 132 124 133 if (g_szPidFile[0] && g_hPidFile) 125 134 VbglR3ClosePidFile(g_szPidFile, g_hPidFile);
Note:
See TracChangeset
for help on using the changeset viewer.