VirtualBox

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


Ignore:
Timestamp:
Nov 21, 2022 1:34:53 PM (2 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Fixed running out of context IDs when copying huge directory listings. Internally IGuestFile::i_closeFile() wasn't unregistering the file object from the guest session, only the public interface IGuestFile::close() did so. bugref:10286

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

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

    r96407 r97626  
    9393    /** @}  */
    9494
    95 private:
     95public:
    9696
    9797    /** @name Wrapped IGuestFile properties.
     
    135135    /** @}  */
    136136
     137private:
     138
    137139    /** This can safely be used without holding any locks.
    138140     * An AutoCaller suffices to prevent it being destroy while in use and
  • trunk/src/VBox/Main/include/GuestSessionImplTasks.h

    r97540 r97626  
    243243    /** @name File handling primitives.
    244244     * @{ */
     245    int fileClose(const ComObjPtr<GuestFile> &file);
    245246    int fileCopyFromGuestInner(const Utf8Str &strSrcFile, ComObjPtr<GuestFile> &srcFile,
    246247                               const Utf8Str &strDstFile, PRTFILE phDstFile,
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