Changeset 5927 in ntrip
- Timestamp:
- Aug 15, 2014, 9:37:22 AM (11 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRun.cpp
r5925 r5927 423 423 } 424 424 425 emit finished(); 426 425 427 if (BNC_CORE->mode() != t_bncCore::interactive) { 426 428 qApp->exit(0); 427 429 } 428 else {429 emit finished();430 deleteLater();431 }432 430 } 433 431 -
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 } -
trunk/BNC/src/PPP/pppThread.h
r5905 r5927 23 23 signals: 24 24 void newMessage(QByteArray msg, bool showOnScreen); 25 void pppFinished(); 26 27 private slots: 28 void slotPPPfinished(); 25 29 26 30 private:
Note:
See TracChangeset
for help on using the changeset viewer.