Changeset 1394 in ntrip


Ignore:
Timestamp:
Dec 29, 2008, 11:51:27 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r1393 r1394  
    4242  if (_reply) {
    4343    _reply->disconnect();
    44     _reply->abort();
     44    _reply->close();
    4545  }
    46   if (_eventLoop) {
    47     _eventLoop->quit();
    48     delete _eventLoop;
    49     _eventLoop = 0;
    50   }
     46  _eventLoop->quit();
    5147}
    5248
     
    5652  _status = error;
    5753  emit newMessage(_reply->errorString().toAscii(), true);
    58   if (_eventLoop) {
    59     _eventLoop->quit();
    60   }
     54  _eventLoop->quit();
    6155}
    6256
     
    131125  // Wait Loop
    132126  // ---------
    133   if (_eventLoop) {
    134     _eventLoop->exec();
    135   }
     127  _eventLoop->exec();
    136128
    137129  // Copy Data and Return
     
    147139  // ---------
    148140  if (!_reply->bytesAvailable()) {
    149     if (_eventLoop) {
    150       _eventLoop->exec();
    151     }
     141    _eventLoop->exec();
    152142  }
    153143
Note: See TracChangeset for help on using the changeset viewer.