Changeset 71564 in vbox
- Timestamp:
- Mar 29, 2018 11:47:25 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121544
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestProcessImpl.h
r71406 r71564 216 216 int init(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, bool fAsync, int *pGuestRc); 217 217 218 void uninit(void); 219 218 220 int getCurrentBlock(uint32_t uHandle, GuestProcessStreamBlock &strmBlock); 219 221 -
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r71560 r71564 1958 1958 GuestProcessTool::~GuestProcessTool(void) 1959 1959 { 1960 if (!pProcess.isNull()) 1961 { 1962 /* Terminate (and unregister) process. */ 1963 pProcess->uninit(); 1964 1965 /* Release reference. */ 1966 pProcess.setNull(); 1967 } 1960 uninit(); 1968 1961 } 1969 1962 … … 2004 1997 LogFlowFuncLeaveRC(vrc); 2005 1998 return vrc; 1999 } 2000 2001 void GuestProcessTool::uninit(void) 2002 { 2003 if (!pProcess.isNull()) 2004 { 2005 /* Terminate (and unregister) process. */ 2006 pProcess->uninit(); 2007 2008 /* Release reference. */ 2009 pProcess.setNull(); 2010 } 2011 2012 if (pSession) 2013 pSession.setNull(); 2006 2014 } 2007 2015
Note:
See TracChangeset
for help on using the changeset viewer.