VirtualBox

Ignore:
Timestamp:
Dec 8, 2017 2:09:19 PM (7 years ago)
Author:
vboxsync
Message:

Main/svcmain.cpp: Backed out r119561 as we won't try instantiate the VirtualBox object without knowing that there aren't competing instances around. This is what we're trying to fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/svcmain.cpp

    r70028 r70030  
    432432                        if (SUCCEEDED(hrc) && pOtherVirtualBox)
    433433                            m_pObj = pOtherVirtualBox;
    434                         else
     434                        else if (SUCCEEDED(hrc))
    435435                        {
    436                             /*
    437                             *  Create the instance of VirtualBox if it is primary VBoxSvc.
    438                             *  Also do it if the VBoxSDS failed.
    439                             *  In this case the VBoxSVC should work as usual.
    440                             */
    441                             if(FAILED(hrc))
    442                                 LogRel(("Warning: registration in VBoxSDS failed with error: %Rhra. "
    443                                         "This VBoxSVC instance will continue to work without VBoxSDS support.\n", hrc));
    444436                            ATL::_pAtlModule->Lock();
    445437                            ATL::CComObjectCached<VirtualBox> *p;
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