Changeset 7858 in ntrip


Ignore:
Timestamp:
Apr 8, 2016, 1:31:57 PM (3 years ago)
Author:
stuerze
Message:

#BNC_DEBUG added

Location:
trunk/BNC/src
Files:
3 edited

Legend:

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

    r7854 r7858  
    407407    delete _nmeaSockets;
    408408  }
     409
     410#ifdef BNC_DEBUG
     411  while (!isFinished()) {
     412    wait();
     413  }
    409414  delete this;
     415#else
     416    if (!isRunning()) {
     417      delete this;
     418    }
     419#endif
     420
    410421}
    411422
  • trunk/BNC/src/pppMain.cpp

    r7856 r7858  
    103103      t_pppThread* pppThread = it.next();
    104104      pppThread->exit();
     105#ifdef BNC_DEBUG
    105106      if (BNC_CORE->mode() != t_bncCore::interactive) {
    106107        while(!pppThread->isFinished()) {
     
    109110        delete pppThread;
    110111      }
     112#endif
    111113    }
    112114    _pppThreads.clear();
  • trunk/BNC/src/src.pri

    r7761 r7858  
    2323release:OBJECTS_DIR=.obj/release
    2424release:MOC_DIR=.moc/release
     25
     26debug:DEFINES  += BNC_DEBUG
    2527
    2628# Include Path
Note: See TracChangeset for help on using the changeset viewer.