Changeset 10355 in ntrip


Ignore:
Timestamp:
Feb 26, 2024, 12:02:11 PM (3 months ago)
Author:
stuerze
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r10238 r10355  
    145145
    146146  QListIterator<bncGetThread*> it(_threads);
     147
    147148  while(it.hasNext()){
    148149    bncGetThread* thread = it.next();
     
    152153    thread->terminate();
    153154  }
     155
    154156  delete _out;
    155157  delete _outFile;
     
    297299////////////////////////////////////////////////////////////////////////////
    298300void bncCaster::slotGetThreadFinished(QByteArray staID) {
    299   QMutexLocker locker(&_mutex);
     301  //QMutexLocker locker(&_mutex);
    300302
    301303  QListIterator<bncGetThread*> it(_threads);
     
    306308    }
    307309  }
    308 
    309310  _staIDs.removeAll(staID);
    310311  emit( newMessage(
     
    314315    emit getThreadsFinished();
    315316  }
     317
    316318}
    317319
  • trunk/BNC/src/bncwindow.cpp

    r10327 r10355  
    22652265  delete _casterEph; _casterEph = 0;
    22662266  _runningRealTime = false;
     2267  enableStartStop();
    22672268}
    22682269
     
    23272328  connect(_caster, SIGNAL(getThreadsFinished()), this, SLOT(slotGetThreadsFinished()));
    23282329
    2329   connect (_caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), this, SLOT(slotMountPointsRead(QList<bncGetThread*>)));
     2330  connect(_caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), this, SLOT(slotMountPointsRead(QList<bncGetThread*>)));
    23302331
    23312332  BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true);
     
    32223223////////////////////////////////////////////////////////////////////////////
    32233224void bncWindow::enableStartStop() {
     3225
    32243226  if ( running() ) {
    32253227    _actStart->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.