VirtualBox

Changeset 84881 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jun 19, 2020 12:42:31 PM (5 years ago)
Author:
vboxsync
Message:

Guest Control/VBoxServce: Fixed removing a (not yet started) process from a guest session's process list in case of early failures in the process thread. Needed in order to avoid process cleanup hangs. bugref:9320.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp

    r84873 r84881  
    18551855                       pStartupInfo->pszCmd, rc, pProcess);
    18561856
     1857            /* Process has not been added to the session's process list yet, so skip VGSvcGstCtrlSessionProcessRemove() here. */
    18571858            VGSvcGstCtrlProcessFree(pProcess);
    18581859        }
     
    18721873                if (RT_SUCCESS(rc2))
    18731874                    pProcess->Thread = NIL_RTTHREAD;
     1875
     1876                VGSvcGstCtrlSessionProcessRemove(pSession, pProcess);
    18741877                VGSvcGstCtrlProcessFree(pProcess);
    18751878            }
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