- Timestamp:
- Jan 7, 2019 3:41:09 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127987
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r76553 r76680 1236 1236 pRh->pDefaultAddress = NULL; 1237 1237 1238 /* 1239 * Destroy I/O thread and request queue last because they might still be used 1240 * when cancelling URBs. 1241 */ 1242 vusbDevUrbIoThreadDestroy(pDev); 1243 1244 int rc = RTReqQueueDestroy(pDev->hReqQueueSync); 1245 AssertRC(rc); 1246 pDev->hReqQueueSync = NIL_RTREQQUEUE; 1247 1238 1248 pDev->pHub->pOps->pfnDetach(pDev->pHub, pDev); 1239 1249 pDev->i16Port = -1; … … 1267 1277 RTCritSectDelete(&pDev->aPipes[i].CritSectCtrl); 1268 1278 } 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 1279 1279 1280 if (pDev->hSniffer != VUSBSNIFFER_NIL)
Note:
See TracChangeset
for help on using the changeset viewer.