Modbus: close connection when unregistering (#28034)

This commit is contained in:
lehmanju 2026-03-10 12:42:23 +01:00 • committed by GitHub
parent b77358183a
commit 1ea07c6dba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,6 +88,7 @@ func unregisterConnection(key string) {
return
}
conn.Close()
delete(connections, key)
}