Changeset 5774 in ntrip for trunk/BNC/src/PPP/pppThread.cpp


Ignore:
Timestamp:
Aug 4, 2014, 10:16:07 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5772 r5774  
    5454////////////////////////////////////////////////////////////////////////////
    5555t_pppThread::t_pppThread(const t_options* opt) : QThread(0) {
    56   _opt = opt;
     56  _opt   = opt;
     57  _pppRun = 0;
    5758  connect(this, SIGNAL(newMessage(QByteArray,bool)),
    5859          BNC_CORE, SLOT(slotMessage(const QByteArray,bool)));
     
    7677  }
    7778  QThread::exec();
     79}
     80
     81//
     82////////////////////////////////////////////////////////////////////////////
     83void t_pppThread::stop() {
     84  this->exit();
     85  delete _pppRun; _pppRun = 0;
     86  this->wait(1000);
     87  this->deleteLater();
    7888}
    7989
Note: See TracChangeset for help on using the changeset viewer.