src/network/socket/qlocalserver_win.cpp
changeset 25 e24348a560a6
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
23:89e065397ea6 25:e24348a560a6
   165 
   165 
   166             // Make this the last thing so connected slots can wreak the least havoc
   166             // Make this the last thing so connected slots can wreak the least havoc
   167             q->incomingConnection((quintptr)handle);
   167             q->incomingConnection((quintptr)handle);
   168         } else {
   168         } else {
   169             if (GetLastError() != ERROR_IO_INCOMPLETE) {
   169             if (GetLastError() != ERROR_IO_INCOMPLETE) {
       
   170                 q->close();
   170                 setError(QLatin1String("QLocalServerPrivate::_q_onNewConnection"));
   171                 setError(QLatin1String("QLocalServerPrivate::_q_onNewConnection"));
   171                 closeServer();
       
   172                 return;
   172                 return;
   173             }
   173             }
   174 
   174 
   175             ++i;
   175             ++i;
   176         }
   176         }