mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-27 21:22:03 -08:00
Fix pointer reuse problem
This commit is contained in:
parent
3e38c7945c
commit
28244ffd9a
@ -189,8 +189,8 @@ func (m *MMClient) Logout() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *MMClient) WsReceiver() {
|
func (m *MMClient) WsReceiver() {
|
||||||
var rmsg model.Message
|
|
||||||
for {
|
for {
|
||||||
|
var rmsg model.Message
|
||||||
if m.WsQuit {
|
if m.WsQuit {
|
||||||
m.log.Debug("exiting WsReceiver")
|
m.log.Debug("exiting WsReceiver")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user