Commit eee17635 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Always disconnect from host on stop

parent 207e6666
......@@ -224,6 +224,7 @@ QVariantMap CanDriver_cobsTcp::info (void) {
bool CanDriver_cobsTcp::stop (void) {
m_watchdog->stop ();
m_socket->disconnectFromHost ();
m_socket->close ();
m_server->close ();
m_cacheById.clear ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment