Changeset 7854 in ntrip for trunk/BNC/src
- Timestamp:
- Apr 7, 2016, 9:46:49 AM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccaster.cpp
r7681 r7854 130 130 while(it.hasNext()){ 131 131 bncGetThread* thread = it.next(); 132 disconnect(thread, 0, 0, 0); 133 _staIDs.removeAll(thread->staID()); 134 _threads.removeAll(thread); 132 135 thread->terminate(); 133 136 } -
trunk/BNC/src/bncgetthread.cpp
r7753 r7854 397 397 void bncGetThread::terminate() { 398 398 _isToBeDeleted = true; 399 if (!isRunning()) { 400 delete this; 401 } 402 _nmeaPortsMap.remove(_staID); 403 delete _nmeaServer; 404 delete _nmeaSockets; 399 400 if(_nmeaPortsMap.contains(_staID)) { 401 _nmeaPortsMap.remove(_staID); 402 } 403 if (_nmeaServer) { 404 delete _nmeaServer; 405 } 406 if (_nmeaSockets) { 407 delete _nmeaSockets; 408 } 409 delete this; 405 410 } 406 411 -
trunk/BNC/src/bncmain.cpp
r7841 r7854 57 57 using namespace std; 58 58 59 59 60 void catch_signal(int) { 60 61 cout << "Program Interrupted by Ctrl-C" << endl; 61 exit(0);62 qApp->quit(); 62 63 } 63 64 … … 497 498 delete bncWin; 498 499 } 500 else { 501 BNC_CORE->stopPPP(); 502 BNC_CORE->stopCombination(); 503 } 499 504 if (caster) { 500 delete caster; 505 delete caster; caster = 0; BNC_CORE->setCaster(0); 501 506 } 502 507 if (casterEph) { 503 delete casterEph; 508 delete casterEph; casterEph = 0; 504 509 } 505 510 if (rawFile) {
Note:
See TracChangeset
for help on using the changeset viewer.