Changeset 7976 in ntrip for trunk/BNC/src/bncgetthread.cpp


Ignore:
Timestamp:
Jun 30, 2016, 4:58:38 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
  • trunk/BNC/src/bncgetthread.cpp

    r7888 r7976  
    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();
Note: See TracChangeset for help on using the changeset viewer.