Changeset 1559 in ntrip


Ignore:
Timestamp:
Feb 2, 2009, 3:12:48 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1558 r1559  
    303303void bncGetThread::terminate() {
    304304  _isToBeDeleted = true;
     305  if (!isRunning()) {
     306    delete this;
     307  }
    305308}
    306309
     
    425428      _decoder->_obsList.clear();
    426429    }
    427     catch (const char* msg) {
    428       emit(newMessage(_staID + msg, true));
    429       tryReconnect();
    430     }
    431430    catch (...) {
    432       emit(newMessage(_staID + "unknown exception", true));
    433       tryReconnect();
     431      emit(newMessage(_staID + "bncGetThread exception", true));
     432      _isToBeDeleted = true;
    434433    }
    435434  }
Note: See TracChangeset for help on using the changeset viewer.