Changeset 40863 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Apr 11, 2012 8:27:48 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77399
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxLA.cpp
r40797 r40863 1246 1246 if (RT_SUCCESS(rc)) 1247 1247 { 1248 if (pCtx->activeClient.u32ClientId != u32ActiveClientId) 1248 bool fClientIdChanged = pCtx->activeClient.u32ClientId != u32ActiveClientId; 1249 1250 if (fClientIdChanged) 1249 1251 { 1250 1252 rc = laUpdateCurrentState(pCtx, u32ActiveClientId, u64Timestamp); … … 1262 1264 1263 1265 laProcessName(pCtx); 1266 1267 laDoActions(pCtx); 1268 1269 pCtx->u64LastQuery = u64Timestamp; 1270 } 1271 } 1272 else 1273 { 1274 /* If the client has been disconnected, do the detach actions. */ 1275 if (fClientIdChanged) 1276 { 1277 LALOG(("LA: client disconnected\n")); 1278 1279 /* laDoActions will prevent a repeated detach action. So if there 1280 * was a detach already, then this detach will be ignored. 1281 */ 1282 pCtx->u32Action = LA_DO_DETACH; 1264 1283 1265 1284 laDoActions(pCtx); … … 1280 1299 { 1281 1300 /* No connections, wait longer. */ 1282 u32Wait = 10000;1301 u32Wait = 5000; 1283 1302 } 1284 1303 else if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.