~cjohnston/ubuntu/raring/virtualbox/fix-for-1101867

« back to all changes in this revision

Viewing changes to src/VBox/Main/src-client/SessionImpl.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-04-05 12:41:55 UTC
  • mfrom: (3.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120405124155-i7b39tv5ddwhubbe
Tags: 4.1.12-dfsg-2
* Upstream has replaced the 4.1.12 tarball with a new one that fixes a
  crash when creating host only interfaces. (Closes: #667460)
  - Add 36-tarball-respin.patch which contains the diff between the old
    and the new tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
840
840
    AutoCaller autoCaller(this);
841
841
    AssertComRCReturn(autoCaller.rc(), autoCaller.rc());
842
842
 
 
843
    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
 
844
    AssertReturn(mState == SessionState_Locked, VBOX_E_INVALID_VM_STATE);
 
845
    AssertReturn(mType == SessionType_WriteLock, VBOX_E_INVALID_OBJECT_STATE);
 
846
 
843
847
    mConsole->enableVMMStatistics(aEnable);
844
848
 
845
849
    return S_OK;