Changeset 5414 in ntrip for trunk/GnssCenter/map_stations/thriftclient.cpp
- Timestamp:
- Sep 10, 2013, 4:47:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/map_stations/thriftclient.cpp
r5409 r5414 17 17 ////////////////////////////////////////////////////////////////////////////// 18 18 t_thriftClient::t_thriftClient() { 19 19 _stop = false; 20 20 } 21 21 … … 23 23 ////////////////////////////////////////////////////////////////////////////// 24 24 t_thriftClient::~t_thriftClient() { 25 26 25 } 27 26 … … 41 40 try { 42 41 transport->open(); 43 while ( processor->process(protocol,protocol,0)) {}42 while (!_stop && processor->process(protocol,protocol,0)) {} 44 43 transport->close(); 45 44 } … … 50 49 cerr << "Unknown exception" << endl; 51 50 } 51 this->terminate(); 52 this->deleteLater(); 52 53 } 53 54
Note:
See TracChangeset
for help on using the changeset viewer.