Changeset 7856 in ntrip for trunk/BNC/src/pppMain.cpp


Ignore:
Timestamp:
Apr 7, 2016, 6:20:00 PM (8 years ago)
Author:
stuerze
Message:

minor changes to allow a clean end of program

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppMain.cpp

    r7850 r7856  
    103103      t_pppThread* pppThread = it.next();
    104104      pppThread->exit();
     105      if (BNC_CORE->mode() != t_bncCore::interactive) {
     106        while(!pppThread->isFinished()) {
     107          pppThread->wait();
     108        }
     109        delete pppThread;
     110      }
    105111    }
    106112    _pppThreads.clear();
Note: See TracChangeset for help on using the changeset viewer.