Changeset 7704 in ntrip for trunk/BNC/src/bncnetqueryv2.cpp


Ignore:
Timestamp:
Jan 19, 2016, 9:17:04 AM (8 years ago)
Author:
stuerze
Message:

minor changes to interrupt the connection to the caster completely if stop button is pressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncnetqueryv2.cpp

    r7698 r7704  
    5151bncNetQueryV2::~bncNetQueryV2() {
    5252  delete _eventLoop;
    53   delete _reply;
     53  if (_reply) {
     54    _reply->abort();
     55    delete _reply;
     56  }
    5457  delete _manager;
    5558}
     
    6063  if (_reply) {
    6164    _reply->abort();
     65    delete _reply;
     66    _reply = 0;
    6267  }
    6368  _eventLoop->quit();
Note: See TracChangeset for help on using the changeset viewer.