Browse Source

Can't call _socket methods from primary thread

QGC4.4
Don Gagne 11 years ago
parent
commit
c97c855764
  1. 1
      src/comm/TCPLink.cc

1
src/comm/TCPLink.cc

@ -198,7 +198,6 @@ bool TCPLink::disconnect()
if (_socket) if (_socket)
{ {
_socket->disconnectFromHost();
_socketIsConnected = false; _socketIsConnected = false;
delete _socket; delete _socket;
_socket = NULL; _socket = NULL;

Loading…
Cancel
Save