VirtualBox

Changeset 514 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 1, 2007 5:00:01 PM (18 years ago)
Author:
vboxsync
Message:

Main: Fixed the assertion unexpectedly popping up when creating a transient shared folder on a powered off VM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r470 r514  
    19921992            tr ("The shared folder path '%ls' on the host is not accessible."), aHostPath);
    19931993
    1994     /* protect mpVM */
    1995     AutoVMCaller autoVMCaller (this);
    1996     CheckComRCReturnRC (autoVMCaller.rc());
    1997 
    19981994    /// @todo (r=sander?) should move this into the shared folder class */
    19991995    if (mpVM && mVMMDev->getShFlClientId())
    20001996    {
    20011997        /*
    2002          *  if the VM is online and supports shared folders, share this folde
     1998         *  if the VM is online and supports shared folders, share this folder
    20031999         *  under the specified name. On error, return it to the caller.
    20042000         */
     2001
     2002        /* protect mpVM */
     2003        AutoVMCaller autoVMCaller (this);
     2004        CheckComRCReturnRC (autoVMCaller.rc());
     2005
    20052006        VBOXHGCMSVCPARM  parms[2];
    20062007        SHFLSTRING      *pFolderName, *pMapName;
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