diff options
author | Wim <wim@42.be> | 2016-07-22 23:04:08 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-07-22 23:04:08 +0200 |
commit | 28244ffd9a6bad6228fbe53d73040ec29780b8a7 (patch) | |
tree | f659d2347930bb2dc2836d65a23b57ca058555b4 | |
parent | 3e38c7945c5ae6b26d430e2aa2d913d091826abf (diff) | |
download | matterbridge-msglm-28244ffd9a6bad6228fbe53d73040ec29780b8a7.tar.gz matterbridge-msglm-28244ffd9a6bad6228fbe53d73040ec29780b8a7.tar.bz2 matterbridge-msglm-28244ffd9a6bad6228fbe53d73040ec29780b8a7.zip |
Fix pointer reuse problem
-rw-r--r-- | matterclient/matterclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index b4bafcd1..db6c54a3 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -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 |