Make sure login works after logout
This commit is contained in:
parent
6c6000dbbd
commit
32e5f396e7
|
@ -586,6 +586,7 @@ func (m *MMClient) StatusLoop() {
|
||||||
m.log.Debug("WS PONG received")
|
m.log.Debug("WS PONG received")
|
||||||
case <-time.After(time.Second * 5):
|
case <-time.After(time.Second * 5):
|
||||||
m.Logout()
|
m.Logout()
|
||||||
|
m.WsQuit = false
|
||||||
m.Login()
|
m.Login()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue