Changeset 1394 in ntrip
- Timestamp:
- Dec 29, 2008, 11:51:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetqueryv2.cpp
r1393 r1394 42 42 if (_reply) { 43 43 _reply->disconnect(); 44 _reply-> abort();44 _reply->close(); 45 45 } 46 if (_eventLoop) { 47 _eventLoop->quit(); 48 delete _eventLoop; 49 _eventLoop = 0; 50 } 46 _eventLoop->quit(); 51 47 } 52 48 … … 56 52 _status = error; 57 53 emit newMessage(_reply->errorString().toAscii(), true); 58 if (_eventLoop) { 59 _eventLoop->quit(); 60 } 54 _eventLoop->quit(); 61 55 } 62 56 … … 131 125 // Wait Loop 132 126 // --------- 133 if (_eventLoop) { 134 _eventLoop->exec(); 135 } 127 _eventLoop->exec(); 136 128 137 129 // Copy Data and Return … … 147 139 // --------- 148 140 if (!_reply->bytesAvailable()) { 149 if (_eventLoop) { 150 _eventLoop->exec(); 151 } 141 _eventLoop->exec(); 152 142 } 153 143
Note:
See TracChangeset
for help on using the changeset viewer.