Changeset 10470 in ntrip


Ignore:
Timestamp:
May 2, 2024, 1:13:00 PM (3 months ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r10423 r10470  
    476476
    477477        if (data.isEmpty() || BNC_CORE->sigintReceived) {
    478           emit(newMessage("No more data or Ctrl-C received", true));
     478          emit(newMessage("No more data or SIGINT/SIGTERM received", true));
    479479          BNC_CORE->stopPPP();
    480480          BNC_CORE->stopCombination();
  • trunk/BNC/src/bncmain.cpp

    r10465 r10470  
    523523    signal(SIGINT, catch_SIGINT);
    524524    signal(SIGTERM, catch_SIGTERM);
     525    BNC_CORE->sigintReceived = 0;
     526#ifndef WIN32
    525527    signal(SIGHUP, catch_SIGHUP);
    526 
    527     BNC_CORE->sigintReceived = 0;
     528#endif
    528529
    529530    casterEph = new bncEphUploadCaster(); (void) casterEph;
Note: See TracChangeset for help on using the changeset viewer.