fixes not disconnecting bug

This commit is contained in:
2026-02-19 11:40:33 +01:00
parent 09af99946e
commit 67ab5418ee
6 changed files with 38 additions and 4 deletions
+3 -2
View File
@@ -306,8 +306,9 @@ func (sm *ShareManager) handleReleaseDevice(busID, fromClient string) {
// Notify client
sm.client.SendJSON(&protocol.DeviceReleased{
Type: protocol.MsgDeviceReleased,
BusID: busID,
Type: protocol.MsgDeviceReleased,
BusID: busID,
ClientID: sm.client.ID(),
})
log.Printf("[share] device %s released", busID)