Changeset 3127 in vbox
- Timestamp:
- Jun 15, 2007 5:48:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r3113 r3127 6256 6256 if (VBOX_SUCCESS (vrc)) 6257 6257 { 6258 /* leave the lock before calling Host in VBoxSVC since Host may call 6259 * us back from under its lock (e.g. onUSBDeviceAttach()) which would 6260 * produce an inter-process dead-lock otherwise. */ 6261 AutoLock alock (this); 6262 alock.leave(); 6263 6258 6264 HRESULT hrc = mControl->AutoCaptureUSBDevices(); 6259 6265 ComAssertComRCRetRC (hrc); … … 6282 6288 AssertReturnVoid (isLockedOnCurrentThread()); 6283 6289 6290 mUSBDevices.clear(); 6291 6292 /* leave the lock before calling Host in VBoxSVC since Host may call 6293 * us back from under its lock (e.g. onUSBDeviceAttach()) which would 6294 * produce an inter-process dead-lock otherwise. */ 6295 AutoLock alock (this); 6296 alock.leave(); 6297 6284 6298 mControl->ReleaseAllUSBDevices(); 6285 mUSBDevices.clear();6286 6299 } 6287 6300
Note:
See TracChangeset
for help on using the changeset viewer.