- Timestamp:
- Jun 1, 2007 2:19:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/USBControllerImpl.cpp
r2845 r2978 1169 1169 else 1170 1170 { 1171 AssertReturn (flt->id() != NULL, E_FAIL); 1172 service->removeFilter (flt->id()); 1173 flt->id() = NULL; 1171 /* It's possible that the given filter was not inserted the proxy 1172 * when this method gets called (as a result of an early VM 1173 * process crash for example. So, don't assert that ID != NULL. */ 1174 if (flt->id() != NULL) 1175 { 1176 service->removeFilter (flt->id()); 1177 flt->id() = NULL; 1178 } 1174 1179 } 1175 1180 }
Note:
See TracChangeset
for help on using the changeset viewer.