Changeset 619 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Dec 16, 2007, 1:21:57 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r618 r619  
    383383      }
    384384     
    385      
     385      for (list<Observation*>::iterator it = _decoder->_obsList.begin();
     386           it != _decoder->_obsList.end(); it++) {
     387        delete *it;
     388      }
     389      _decoder->_obsList.clear();
     390
    386391      _socket->waitForReadyRead(_timeOut);
    387392      qint64 nBytes = _socket->bytesAvailable();
     
    463468////////////////////////////////////////////////////////////////////////////
    464469void bncGetThread::tryReconnect() {
    465 
    466   if (_decoder) {
    467     for (list<Observation*>::iterator it = _decoder->_obsList.begin();
    468          it != _decoder->_obsList.end(); it++) {
    469       delete *it;
    470     }
    471     _decoder->_obsList.clear();
    472   }
    473 
    474470  if (_rnx) {
    475471    _rnx->setReconnectFlag(true);
Note: See TracChangeset for help on using the changeset viewer.