Fix pointer reuse problem

This commit is contained in:
Wim 2016-07-22 23:04:08 +02:00
parent 3e38c7945c
commit 28244ffd9a
1 changed files with 1 additions and 1 deletions

View File

@ -189,8 +189,8 @@ func (m *MMClient) Logout() error {
}
func (m *MMClient) WsReceiver() {
var rmsg model.Message
for {
var rmsg model.Message
if m.WsQuit {
m.log.Debug("exiting WsReceiver")
return