Changeset 9731 in ntrip for trunk


Ignore:
Timestamp:
May 25, 2022, 4:32:40 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r9730 r9731  
    109109  }
    110110  if (_outSocket) {
     111    disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
     112    disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
    111113    delete _outSocket;
    112114  }
     
    212214      return;
    213215    }
    214     delete _outSocket;
    215     _outSocket=0;
     216    _outSocket->close();
    216217  }
    217218
     
    357358  disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
    358359  emit(newMessage("slotSslSocketConnectionClosed", true));
    359   delete _outSocket;
    360   _outSocket = 0;
    361 }
    362 
    363 
    364 
    365 
     360  if (_outSocket) {
     361    delete _outSocket;
     362    _outSocket = 0;
     363  }
     364}
     365
     366
     367
     368
Note: See TracChangeset for help on using the changeset viewer.