Changeset 34111 in vbox
- Timestamp:
- Nov 16, 2010 12:43:09 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67814
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r34086 r34111 551 551 mcVRDPClients = 0; 552 552 mu32SingleRDPClientId = 0; 553 mcGuestCredentialsProvided = false; 553 554 554 555 // VirtualBox 4.0: We no longer initialize the VMMDev instance here, … … 1010 1011 if (SUCCEEDED(hrc) && noLoggedInUsersValue != Bstr("false")) 1011 1012 { 1012 fProvideGuestCredentials = TRUE; 1013 /* And only if there are no connected clients. */ 1014 if (ASMAtomicCmpXchgBool(&mcGuestCredentialsProvided, true, false)) 1015 { 1016 fProvideGuestCredentials = TRUE; 1017 } 1013 1018 } 1014 1019 } … … 1122 1127 updateGuestPropertiesVRDPDisconnect(u32ClientId); 1123 1128 #endif /* VBOX_WITH_GUEST_PROPS */ 1129 1130 if (u32Clients == 0) 1131 mcGuestCredentialsProvided = false; 1124 1132 1125 1133 LogFlowFuncLeave(); -
trunk/src/VBox/Main/include/ConsoleImpl.h
r34075 r34111 560 560 volatile uint32_t mcVRDPClients; 561 561 uint32_t mu32SingleRDPClientId; /* The id of a connected client in the single connection mode. */ 562 volatile bool mcGuestCredentialsProvided; 562 563 563 564 static const char *sSSMConsoleUnit;
Note:
See TracChangeset
for help on using the changeset viewer.