src/network/socket/qabstractsocket.cpp
branchRCL_3
changeset 14 c0432d11811c
parent 8 3f74d0d4af4c
equal deleted inserted replaced
13:cc75c76972ee 14:c0432d11811c
  2380 
  2380 
  2381     if (d->abortCalled) {
  2381     if (d->abortCalled) {
  2382 #if defined(QABSTRACTSOCKET_DEBUG)
  2382 #if defined(QABSTRACTSOCKET_DEBUG)
  2383         qDebug("QAbstractSocket::disconnectFromHost() aborting immediately");
  2383         qDebug("QAbstractSocket::disconnectFromHost() aborting immediately");
  2384 #endif
  2384 #endif
       
  2385         if (d->state == HostLookupState) {
       
  2386             QHostInfo::abortHostLookup(d->hostLookupId);
       
  2387             d->hostLookupId = -1;
       
  2388         }
  2385     } else {
  2389     } else {
  2386         // Perhaps emit closing()
  2390         // Perhaps emit closing()
  2387         if (d->state != ClosingState) {
  2391         if (d->state != ClosingState) {
  2388             d->state = ClosingState;
  2392             d->state = ClosingState;
  2389 #if defined(QABSTRACTSOCKET_DEBUG)
  2393 #if defined(QABSTRACTSOCKET_DEBUG)