Changeset 7859 in ntrip


Ignore:
Timestamp:
Apr 8, 2016, 1:52:58 PM (9 years ago)
Author:
stuerze
Message:

minor changes to allow a complete end of program only in debug + command line mode

File:
1 edited

Legend:

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

    r7858 r7859  
    409409
    410410#ifdef BNC_DEBUG
    411   while (!isFinished()) {
    412     wait();
    413   }
    414   delete this;
     411  if (BNC_CORE->mode() != t_bncCore::interactive) {
     412    while (!isFinished()) {wait();}
     413    delete this;
     414  }
     415  else {
     416    if (!isRunning()) {delete this;}
     417  }
    415418#else
    416     if (!isRunning()) {
    417       delete this;
    418     }
     419    if (!isRunning()) {delete this;}
    419420#endif
    420421
Note: See TracChangeset for help on using the changeset viewer.