Changeset 5927 in ntrip for trunk/BNC/src/PPP/pppThread.cpp
- Timestamp:
- Aug 15, 2014, 9:37:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppThread.cpp
r5906 r5927 61 61 _pppRun = 0; 62 62 63 connect(this, SIGNAL(finished()), this, SLOT(deleteLater()));64 65 63 connect(this, SIGNAL(newMessage(QByteArray,bool)), 66 64 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); … … 79 77 try { 80 78 _pppRun = new t_pppRun(_opt); 79 connect(_pppRun, SIGNAL(finished()), this, SLOT(slotPPPfinished())); 81 80 if (_opt->_realTime) { 82 81 if (_ownThread) { … … 89 88 } 90 89 catch (t_except exc) { 91 _pppRun = 0;90 delete _pppRun; _pppRun = 0; 92 91 emit newMessage(QByteArray(exc.what().c_str()), true); 93 92 } 94 93 } 95 94 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.