Changeset 5774 in ntrip for trunk/BNC/src/PPP/pppThread.cpp
- Timestamp:
- Aug 4, 2014, 10:16:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppThread.cpp
r5772 r5774 54 54 //////////////////////////////////////////////////////////////////////////// 55 55 t_pppThread::t_pppThread(const t_options* opt) : QThread(0) { 56 _opt = opt; 56 _opt = opt; 57 _pppRun = 0; 57 58 connect(this, SIGNAL(newMessage(QByteArray,bool)), 58 59 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); … … 76 77 } 77 78 QThread::exec(); 79 } 80 81 // 82 //////////////////////////////////////////////////////////////////////////// 83 void t_pppThread::stop() { 84 this->exit(); 85 delete _pppRun; _pppRun = 0; 86 this->wait(1000); 87 this->deleteLater(); 78 88 } 79 89
Note:
See TracChangeset
for help on using the changeset viewer.