If reconnect, disconnect event is fired after connect event.
Opened this issue · 0 comments
dimitrov-adrian commented
Should check also if logEntry.jsonPayload.status.code !== 6
because in this case disconnect event is fired after "real" connect event.
Example scenario if device is restarted.