This commit is contained in:
Jeff Walter 2018-12-11 17:50:16 -06:00
commit 077668ca58

View File

@ -111,6 +111,8 @@ func (e *eventStream) listen() (connected chan bool) {
connected <- true
} else if notifyResponse.Status == "disconnected" {
e.disconnect()
} else if notifyResponse.Action == "logout" {
e.disconnect()
} else {
e.subscriptions.rwmutex.RLock()
subscriber, ok := e.subscribers[notifyResponse.TransId]