Changeset 48431 in vbox for trunk/src/VBox/Main/src-server/TokenImpl.cpp
- Timestamp:
- Sep 11, 2013 2:08:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/TokenImpl.cpp
r48305 r48431 35 35 void MachineToken::FinalRelease() 36 36 { 37 uninit( );37 uninit(false); 38 38 39 39 BaseFinalRelease(); … … 70 70 * Called either from FinalRelease() or by the parent when it gets destroyed. 71 71 */ 72 void MachineToken::uninit( )72 void MachineToken::uninit(bool fAbandon) 73 73 { 74 74 LogFlowThisFunc(("\n")); … … 82 82 if (!m.pSessionMachine.isNull()) 83 83 { 84 m.pSessionMachine->uninit( );84 m.pSessionMachine->uninit(fAbandon ? SessionMachine::Uninit::Normal : SessionMachine::Uninit::Abnormal); 85 85 m.pSessionMachine.setNull(); 86 86 } … … 96 96 97 97 /* uninit does everything we need */ 98 uninit( );98 uninit(true); 99 99 return S_OK; 100 100 }
Note:
See TracChangeset
for help on using the changeset viewer.