mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-28 00:42:32 +00:00
Disconnect client on shutdown.
This commit is contained in:
parent
e3f130ade5
commit
cf409a8d79
@ -714,6 +714,8 @@ func (c *Client) Shutdown() {
|
||||
}
|
||||
c.requestLock.Unlock()
|
||||
c.removeAllRequests()
|
||||
|
||||
c.Disconnect()
|
||||
}
|
||||
|
||||
// Start begins processing input and output messages.
|
||||
|
Loading…
x
Reference in New Issue
Block a user