Changeset 619 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Dec 16, 2007, 1:21:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r618 r619 383 383 } 384 384 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 386 391 _socket->waitForReadyRead(_timeOut); 387 392 qint64 nBytes = _socket->bytesAvailable(); … … 463 468 //////////////////////////////////////////////////////////////////////////// 464 469 void 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 474 470 if (_rnx) { 475 471 _rnx->setReconnectFlag(true);
Note:
See TracChangeset
for help on using the changeset viewer.