Ignore:
Timestamp:
Jun 30, 2016, 5:05:55 PM (8 years ago)
Author:
stuerze
Message:

mionor changes to allow programm interruption by Ctrl+C in case of raw file processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncgetthread.cpp

    r7859 r7977  
    468468        QCoreApplication::processEvents();
    469469
    470         if (data.isEmpty()) {
    471           cout << "no more data" << endl;
     470        if (data.isEmpty() || BNC_CORE->sigintReceived) {
     471          cout << "no more data or Ctrl-C received" << endl;
    472472          BNC_CORE->stopCombination();
    473473          BNC_CORE->stopPPP();
     
    641641#endif
    642642    }
    643 
    644     delete _query;
     643    if (_query) {
     644      delete _query;
     645    }
    645646    if      (_ntripVersion == "U") {
    646647      _query = new bncNetQueryUdp();
Note: See TracChangeset for help on using the changeset viewer.