Changeset 23338 in vbox for trunk/src/VBox/Main/HostImpl.cpp
- Timestamp:
- Sep 25, 2009 3:26:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r23308 r23338 342 342 #ifdef VBOX_WITH_USB 343 343 /* uninit all USB device filters still referenced by clients */ 344 for (USBDeviceFilterList::iterator it = m->llChildren.begin(); 345 it != m->llChildren.end(); 346 ++it) 347 { 348 ComObjPtr<HostUSBDeviceFilter> &pChild = *it; 344 while (!m->llChildren.empty()) 345 { 346 ComObjPtr<HostUSBDeviceFilter> pChild = m->llChildren.front(); 347 m->llChildren.pop_front(); 349 348 pChild->uninit(); 350 349 } 351 352 m->llChildren.clear();353 350 354 351 m->llUSBDeviceFilters.clear();
Note:
See TracChangeset
for help on using the changeset viewer.