Changeset 76682 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Jan 7, 2019 4:05:55 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127989
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r76681 r76682 1238 1238 pDev->pHub->pOps->pfnDetach(pDev->pHub, pDev); 1239 1239 pDev->i16Port = -1; 1240 1241 /*1242 * Destroy I/O thread and request queue last because they might still be used1243 * when cancelling URBs.1244 */1245 vusbDevUrbIoThreadDestroy(pDev);1246 1247 int rc = RTReqQueueDestroy(pDev->hReqQueueSync);1248 AssertRC(rc);1249 pDev->hReqQueueSync = NIL_RTREQQUEUE;1250 1251 1240 vusbDevSetState(pDev, VUSB_DEVICE_STATE_DETACHED); 1252 1241 pDev->pHub = NULL; … … 1278 1267 RTCritSectDelete(&pDev->aPipes[i].CritSectCtrl); 1279 1268 } 1269 1270 /* 1271 * Destroy I/O thread and request queue last because they might still be used 1272 * when cancelling URBs. 1273 */ 1274 vusbDevUrbIoThreadDestroy(pDev); 1275 1276 int rc = RTReqQueueDestroy(pDev->hReqQueueSync); 1277 AssertRC(rc); 1280 1278 1281 1279 if (pDev->hSniffer != VUSBSNIFFER_NIL)
Note:
See TracChangeset
for help on using the changeset viewer.