Do not expect anything from the destroy indow command because theres nothing
- removes the timeout delay because there's nothing
This commit is contained in:
@@ -209,8 +209,7 @@ func (d *CDashDisplay) DestroyWindow(wID int16) error {
|
||||
return err
|
||||
}
|
||||
|
||||
var ack packets.AckPacket
|
||||
err = d.WT.SendCommand(destroyWindowCMDID, bytes, &ack)
|
||||
err = d.WT.SendCommand(destroyWindowCMDID, bytes, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user