Ignore:
Timestamp:
Sep 12, 2013, 5:09:02 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/map_stations/thriftclient.cpp

    r5424 r5425  
    4343  try {
    4444    transport->open();
    45     while (!_stop && processor->process(protocol,protocol,0)) {}
     45    while (true) {
     46      {
     47        QMutexLocker locker(&_mutex);
     48        if (_stop) {
     49          break;
     50        }
     51      }
     52      processor->process(protocol,protocol,0);
     53    }
    4654    transport->close();
    4755  }
Note: See TracChangeset for help on using the changeset viewer.