diff options
-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 |