Changeset 5728 in ntrip


Ignore:
Timestamp:
Jul 31, 2014, 2:53:21 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccore.h

    r5727 r5728  
    5252    void setPortCorr(int port);
    5353    void setCaster(QSharedPointer<bncCaster> caster) {_caster = caster;}
     54    void deleteCaster() {_caster.clear();}
    5455    QSharedPointer<bncCaster> caster() const {return _caster;}
    5556    QDateTime* _currentDateAndTimeGPS;
  • trunk/BNC/src/bncwindow.cpp

    r5727 r5728  
    15271527////////////////////////////////////////////////////////////////////////////
    15281528bncWindow::~bncWindow() {
    1529   _caster.clear();
     1529  _caster.clear(); BNC_CORE->deleteCaster();
    15301530  delete _casterEph;
    15311531  delete _pppMain;
     
    19901990void bncWindow::slotGetThreadsFinished() {
    19911991  BNC_CORE->slotMessage("All Get Threads Terminated", true);
    1992   _caster.clear();
     1992  _caster.clear(); BNC_CORE->deleteCaster();
    19931993  delete _casterEph; _casterEph = 0;
    19941994  _runningRealTime = false;
     
    20872087    }
    20882088    BNC_CORE->stopCombination();
    2089     _caster.clear();
     2089    _caster.clear(); BNC_CORE->deleteCaster();
    20902090    delete _casterEph; _casterEph = 0;
    20912091    _runningRealTime = false;
Note: See TracChangeset for help on using the changeset viewer.