Changeset 3207 in ntrip for trunk/BNC/upload/bncuploadcaster.cpp
- Timestamp:
- Mar 30, 2011, 7:02:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncuploadcaster.cpp
r3206 r3207 48 48 _outSocket = 0; 49 49 _sOpenTrial = 0; 50 51 _isToBeDeleted = false; 50 52 51 53 // Raw Output … … 186 188 } 187 189 190 // Safe Desctructor 191 //////////////////////////////////////////////////////////////////////////// 192 void bncUploadCaster::deleteSafely() { 193 QMutexLocker locker(&_mutex); 194 _isToBeDeleted = true; 195 } 196 188 197 // Destructor 189 198 //////////////////////////////////////////////////////////////////////////// … … 337 346 338 347 QMutexLocker locker(&_mutex); 348 349 // Safely stop and delete 350 // ---------------------- 351 if (_isToBeDeleted) { 352 QThread::quit(); 353 deleteLater(); 354 return; 355 } 339 356 340 357 // Prepare list of lines with satellite positions in SP3-like format
Note:
See TracChangeset
for help on using the changeset viewer.