Changeset 5930 in ntrip for trunk/BNC/src/PPP/pppThread.cpp
- Timestamp:
- Aug 15, 2014, 10:13:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppThread.cpp
r5927 r5930 61 61 _pppRun = 0; 62 62 63 connect(this, SIGNAL(finished()), this, SLOT(deleteLater())); 64 63 65 connect(this, SIGNAL(newMessage(QByteArray,bool)), 64 66 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); … … 77 79 try { 78 80 _pppRun = new t_pppRun(_opt); 79 connect(_pppRun, SIGNAL(finished()), this, SLOT(slotPPPfinished()));80 81 if (_opt->_realTime) { 81 82 if (_ownThread) { … … 88 89 } 89 90 catch (t_except exc) { 90 delete _pppRun;_pppRun = 0;91 _pppRun = 0; 91 92 emit newMessage(QByteArray(exc.what().c_str()), true); 92 93 } 93 94 } 94 95 95 // Run (virtual)96 ////////////////////////////////////////////////////////////////////////////97 void t_pppThread::slotPPPfinished() {98 delete _pppRun; _pppRun = 0;99 }
Note:
See TracChangeset
for help on using the changeset viewer.