Changeset 5975 in ntrip


Ignore:
Timestamp:
Aug 17, 2014, 1:49:32 PM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppMain.cpp

    r5973 r5975  
    6161  cout << "~t_pppMain" << endl;
    6262  stop();
     63  QListIterator<t_pppOptions*> iOpt(_options);
     64  while (iOpt.hasNext()) {
     65    delete iOpt.next();
     66  }
    6367}
    6468
     
    104108      pppThread->exit();
    105109    }
    106   }
    107   _pppThreads.clear();
    108 
    109   QListIterator<t_pppOptions*> iOpt(_options);
    110   while (iOpt.hasNext()) {
    111     delete iOpt.next();
    112   }
    113   _options.clear();
     110    _pppThreads.clear();
     111  }
    114112
    115113  _running = false;
Note: See TracChangeset for help on using the changeset viewer.