also http client close idle
parent
bd71b4ecbc
commit
0046c92155
|
|
@ -47,6 +47,7 @@ func newMatrix(conf config.Matrix, cont string) Matrix {
|
|||
|
||||
func (m Matrix) closeclient(client *gomatrix.Client) {
|
||||
go func() {
|
||||
client.Client.CloseIdleConnections()
|
||||
client.StopSync()
|
||||
client.Logout()
|
||||
}()
|
||||
|
|
|
|||
Loading…
Reference in New Issue