Changeset 5813 in ntrip for trunk/BNC/src/PPP/pppMain.cpp
- Timestamp:
- Aug 6, 2014, 11:51:11 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5810 r5813 73 73 while (iOpt.hasNext()) { 74 74 const t_pppOptions* opt = iOpt.next(); 75 t_ppp Include.hread* pppInclude.hread = new t_pppInclude.hread(opt);76 ppp Include.hread->start();77 _ppp Include.hreads << pppInclude.hread;75 t_pppThread* pppThread = new t_pppThread(opt); 76 pppThread->start(); 77 _pppThreads << pppThread; 78 78 _running = true; 79 79 } … … 92 92 } 93 93 94 QListIterator<t_ppp Include.hread*> it(_pppInclude.hreads);94 QListIterator<t_pppThread*> it(_pppThreads); 95 95 while (it.hasNext()) { 96 t_ppp Include.hread* pppInclude.hread = it.next();97 ppp Include.hread->exit();98 } 99 _ppp Include.hreads.clear();96 t_pppThread* pppThread = it.next(); 97 pppThread->exit(); 98 } 99 _pppThreads.clear(); 100 100 101 101 QListIterator<t_pppOptions*> iOpt(_options);
Note:
See TracChangeset
for help on using the changeset viewer.