fixes not disconnecting bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user