Changeset 5764 in ntrip


Ignore:
Timestamp:
Aug 4, 2014, 8:43:23 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5763 r5764  
    6767  }
    6868
    69   readOptions();
    70 
    71   QListIterator<t_options*> iOpt(_options);
    72   while (iOpt.hasNext()) {
    73     const t_options* opt = iOpt.next();
    74     t_pppThread* pppThread = new t_pppThread(opt);
    75     pppThread->start();
    76     _pppThreads << pppThread;
    77     _running = true;
     69  try {
     70    readOptions();
     71
     72    QListIterator<t_options*> iOpt(_options);
     73    while (iOpt.hasNext()) {
     74      const t_options* opt = iOpt.next();
     75      t_pppThread* pppThread = new t_pppThread(opt);
     76      pppThread->start();
     77      _pppThreads << pppThread;
     78      _running = true;
     79    }
     80  }
     81  catch (pppExcept exc) {
     82    stop();
    7883  }
    7984}
Note: See TracChangeset for help on using the changeset viewer.