Changeset 90055 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Jul 6, 2021 10:58:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/seamless.cpp
r86873 r90055 158 158 int SeamlessMain::term(void) 159 159 { 160 int rc;161 162 if (mX11MonitorThread)163 {164 rc = RTThreadWait(mX11MonitorThread, RT_MS_30SEC, NULL);165 if (RT_SUCCESS(rc))166 {167 mX11MonitorThread = NIL_RTTHREAD;168 }169 else170 VBClLogError("Failed to stop X11 monitor thread, rc=%Rrc\n", rc);171 }172 else173 rc = VINF_SUCCESS;174 175 160 mX11Monitor.uninit(); 176 177 return rc; 161 return VINF_SUCCESS; 178 162 } 179 163 … … 298 282 299 283 mX11MonitorThreadStopping = true; 300 mX11Monitor.interruptEventWait(); 284 if (!mX11Monitor.interruptEventWait()) 285 { 286 VBClLogError("Unable to notify X11 monitor thread\n"); 287 return VERR_INVALID_STATE; 288 } 301 289 302 290 int rcThread;
Note:
See TracChangeset
for help on using the changeset viewer.