- Timestamp:
- Jan 7, 2019 4:40:25 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r76682 r76684 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 used 1243 * when cancelling URBs. 1244 */ 1245 vusbDevUrbIoThreadDestroy(pDev); 1246 1247 int rc = RTReqQueueDestroy(pDev->hReqQueueSync); 1248 AssertRC(rc); 1249 pDev->hReqQueueSync = NIL_RTREQQUEUE; 1250 1240 1251 vusbDevSetState(pDev, VUSB_DEVICE_STATE_DETACHED); 1241 1252 pDev->pHub = NULL; … … 1267 1278 RTCritSectDelete(&pDev->aPipes[i].CritSectCtrl); 1268 1279 } 1269 1270 /*1271 * Destroy I/O thread and request queue last because they might still be used1272 * when cancelling URBs.1273 */1274 vusbDevUrbIoThreadDestroy(pDev);1275 1276 int rc = RTReqQueueDestroy(pDev->hReqQueueSync);1277 AssertRC(rc);1278 1280 1279 1281 if (pDev->hSniffer != VUSBSNIFFER_NIL)
Note:
See TracChangeset
for help on using the changeset viewer.