Changeset 5930 in ntrip


Ignore:
Timestamp:
Aug 15, 2014, 10:13:07 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppThread.cpp

    r5927 r5930  
    6161  _pppRun    = 0;
    6262
     63  connect(this, SIGNAL(finished()), this, SLOT(deleteLater()));
     64
    6365  connect(this, SIGNAL(newMessage(QByteArray,bool)),
    6466          BNC_CORE, SLOT(slotMessage(const QByteArray,bool)));
     
    7779  try {
    7880    _pppRun = new t_pppRun(_opt);
    79     connect(_pppRun, SIGNAL(finished()), this, SLOT(slotPPPfinished()));
    8081    if (_opt->_realTime) {
    8182      if (_ownThread) {
     
    8889  }
    8990  catch (t_except exc) {
    90     delete _pppRun; _pppRun = 0;
     91    _pppRun = 0;
    9192    emit newMessage(QByteArray(exc.what().c_str()), true);
    9293  }
    9394}
    9495
    95 // Run (virtual)
    96 ////////////////////////////////////////////////////////////////////////////
    97 void t_pppThread::slotPPPfinished() {
    98   delete _pppRun; _pppRun = 0;
    99 }
  • trunk/BNC/src/PPP/pppThread.h

    r5927 r5930  
    2323 signals:
    2424  void newMessage(QByteArray msg, bool showOnScreen);
    25   void pppFinished();
    26 
    27  private slots:
    28   void slotPPPfinished();
    2925
    3026 private:
Note: See TracChangeset for help on using the changeset viewer.