- Timestamp:
- Aug 4, 2014, 10:16:07 AM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r5773 r5774 118 118 else if (ephGlo) { 119 119 _ephPool->putEphemeris(new t_ephGlo(*ephGlo)); 120 LOG << OPT->_roverName << " putEpheme irs Glo" << endl;120 LOG << OPT->_roverName << " putEphemeris Glo" << endl; 121 121 } 122 122 else if (ephGal) { -
trunk/BNC/src/PPP/pppMain.cpp
r5765 r5774 95 95 while (it.hasNext()) { 96 96 t_pppThread* pppThread = it.next(); 97 pppThread->exit(); 98 pppThread->deleteLater(); 97 pppThread->stop(); 99 98 } 100 99 _pppThreads.clear(); -
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 -
trunk/BNC/src/PPP/pppThread.h
r5766 r5774 39 39 ~t_pppThread(); 40 40 virtual void run(); 41 void stop(); 41 42 42 43 signals:
Note:
See TracChangeset
for help on using the changeset viewer.