VirtualBox

Changeset 102533 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Dec 8, 2023 10:15:02 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160677
Message:

Main/Guest Control: Fixed a shutdown race when uninitializing guest sessions via IGuestSession::Close(): There we need to check if its parent object (IGuest) still is around and in a working shape, and if not, do the cleanup stuff ourselves. Renamed Guest::i_sessionDestroy() -> Guest::i_sessionRemove() to make its function more clear. This race seemed to happen in combination with FE/Qt's guest file manager every now and then. bugref:9135

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestImpl.h

    r98103 r102533  
    131131    int         i_sessionCreate(const GuestSessionStartupInfo &ssInfo, const GuestCredentials &guestCreds,
    132132                                ComObjPtr<GuestSession> &pGuestSession);
    133     int         i_sessionDestroy(uint32_t uSessionID);
     133    int         i_sessionRemove(uint32_t uSessionID);
    134134    inline bool i_sessionExists(uint32_t uSessionID);
    135135    /** Returns the VBOX_GUESTCTRL_GF_0_XXX mask reported by the guest. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette