Changeset 618 in ntrip


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r617 r618  
    463463////////////////////////////////////////////////////////////////////////////
    464464void 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
    465474  if (_rnx) {
    466475    _rnx->setReconnectFlag(true);
Note: See TracChangeset for help on using the changeset viewer.