VirtualBox

Changeset 102254 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Nov 22, 2023 1:35:12 PM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom/ipcd: Fix checking for the shutdown condition, got misplaced, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp

    r102062 r102254  
    335335        { /* likely */ }
    336336        else if (vrc == VERR_TIMEOUT)
    337         {
    338             /* Shutdown if no clients. */
    339             if (ipcClientCount == 0)
    340             {
    341                 LogFlowFunc(("shutting down\n"));
    342                 break;
    343             }
    344 
    345337            continue;
    346         }
    347338        else
    348339        {
     
    385376                /* Cleanup dead client. */
    386377                RemoveClient(hPollSet, idPoll);
     378
     379                /* Shutdown if no clients. */
     380                if (ipcClientCount == 0)
     381                {
     382                    LogFlowFunc(("shutting down\n"));
     383                    break;
     384                }
    387385            }
    388386            else if (ipcClientArray[idPoll].m_fPollEvts != fNewFlags)
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