VirtualBox

Changeset 1776 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 28, 2007 3:01:35 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19947
Message:

Shutdown fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp

    r1775 r1776  
    336336
    337337        BOOL fConnected = ConnectNamedPipe((HANDLE)NamedPipe, &overlapped);
    338         if (!fConnected)
     338        if (    !fConnected
     339            &&  !pData->fShutdown)
    339340        {
    340341            DWORD hrc = GetLastError();
     
    349350
    350351            }
     352
     353            if (!pData->fShutdown)
     354                break;
    351355
    352356            if (hrc == ERROR_PIPE_CONNECTED)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette