Changeset 9746 in ntrip


Ignore:
Timestamp:
Jun 1, 2022, 11:19:42 AM (4 weeks ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9745 r9746  
    194194  }
    195195
    196   if (_outSocket != 0) {
    197     if (_outSocket->state() == QAbstractSocket::ConnectedState) {
    198       return;
    199     }
    200     delete _outSocket;
    201     _outSocket = 0;
    202   }
     196  if (_outSocket) {
     197    if( _outSocket->state() == QAbstractSocket::ConnectedState) {
     198      return;
     199    }
     200    disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
     201  }
     202  delete _outSocket;
     203  _outSocket = 0;
    203204
    204205  double minDt = pow(2.0, _sOpenTrial);
Note: See TracChangeset for help on using the changeset viewer.