mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
Disconnect client on shutdown.
This commit is contained in:
parent
e3f130ade5
commit
cf409a8d79
1 changed files with 2 additions and 0 deletions
|
@ -714,6 +714,8 @@ func (c *Client) Shutdown() {
|
||||||
}
|
}
|
||||||
c.requestLock.Unlock()
|
c.requestLock.Unlock()
|
||||||
c.removeAllRequests()
|
c.removeAllRequests()
|
||||||
|
|
||||||
|
c.Disconnect()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start begins processing input and output messages.
|
// Start begins processing input and output messages.
|
||||||
|
|
Loading…
Add table
Reference in a new issue