Changeset 51743 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 27, 2014 9:16:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/USBProxyServiceWindows.cpp
r51092 r51743 227 227 /* Nothing special here so far, so fall back on parent */ 228 228 return USBProxyService::updateDeviceState(aDevice, aUSBDevice, aRunFilters, aIgnoreMachine); 229 230 /// @todo remove?231 #if 0232 233 /*234 * We're only called in the 'existing device' state, so if there is a pending async235 * operation we can check if it completed here and suppress state changes if it hasn't.236 */237 /* TESTME */238 if (aDevice->isStatePending())239 {240 bool fRc = aDevice->updateState(aUSBDevice);241 if (fRc)242 {243 if (aDevice->state() != aDevice->pendingState())244 fRc = false;245 }246 return fRc;247 }248 249 /* fall back on parent. */250 return USBProxyService::updateDeviceState(aDevice, aUSBDevice, aRunFilters, aIgnoreMachine);251 #endif252 229 } 253 230
Note:
See TracChangeset
for help on using the changeset viewer.