Changeset 5428 in ntrip for trunk/GnssCenter


Ignore:
Timestamp:
Sep 12, 2013, 5:26:53 PM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/map_stations
Files:
2 edited

Legend:

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

    r5427 r5428  
    6464t_map_stations::~t_map_stations() {
    6565  if (_thriftClient) {
    66     _thriftClient->stop();
     66    _thriftClient->stopAndDestroy();
     67  }
     68  if (_results) {
     69    while (!_results->empty()) {
     70      delete _results->back();
     71      _results->pop_back();
     72    }
     73    delete _results;
    6774  }
    6875}
  • trunk/GnssCenter/map_stations/thriftclient.h

    r5425 r5428  
    6868  ~t_thriftClient();
    6969  virtual void run();
    70   void stop() {
     70  void stopAndDestroy() {
    7171    QMutexLocker locker(&_mutex);
    7272    _stop = true;
Note: See TracChangeset for help on using the changeset viewer.