Changeset 4985 in ntrip


Ignore:
Timestamp:
Mar 18, 2013, 6:21:08 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r4810 r4985  
    8989        _outSocket->flush();
    9090        emit newBytes(_mountpoint.toAscii(), _outBuffer.size());
    91         if (_rate == 0) {
    92           _outBuffer.clear();
    93         }
    9491      }
    9592    }
    9693    if (_rate == 0) {
     94      {
     95        QMutexLocker locker(&_mutex);
     96        _outBuffer.clear();
     97      }
    9798      msleep(100); //sleep 0.1 sec
    9899    }
Note: See TracChangeset for help on using the changeset viewer.