- Timestamp:
- Apr 4, 2018 12:43:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r71564 r71653 2001 2001 void GuestProcessTool::uninit(void) 2002 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(); 2003 /* Make sure the process is terminated and unregistered from the guest session. */ 2004 int rcGuestIgnored; 2005 int rc2 = terminate(30 * 1000 /* 30s timeout */, &rcGuestIgnored); 2006 AssertRC(rc2); 2007 2008 /* Release references. */ 2009 pProcess.setNull(); 2010 pSession.setNull(); 2014 2011 } 2015 2012
Note:
See TracChangeset
for help on using the changeset viewer.