Changeset 1560 in ntrip


Ignore:
Timestamp:
Feb 2, 2009, 3:44:56 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r1556 r1560  
    250250void bncCaster::slotGetThreadFinished(QByteArray staID) {
    251251  QMutexLocker locker(&_mutex);
     252
     253  QListIterator<bncGetThread*> it(_threads);
     254  while (it.hasNext()) {
     255    bncGetThread* thread = it.next();
     256    if (thread->staID() == staID) {
     257      _threads.removeOne(thread);
     258    }
     259  }
     260
    252261  _staIDs.removeAll(staID);
    253262  emit( newMessage(
  • trunk/BNC/bncwindow.cpp

    r1556 r1560  
    926926void bncWindow::slotGetThreadsFinished() {
    927927  ((bncApp*)qApp)->slotMessage("All Get Threads Terminated", true);
    928   if (!_actStop->isEnabled()) {
    929     _actGetData->setEnabled(true);
    930   }
     928  delete _caster; _caster = 0;
     929  _actGetData->setEnabled(true);
     930  _actStop->setEnabled(false);
    931931}
    932932
Note: See TracChangeset for help on using the changeset viewer.