We have a server side event connection.
We close the connection with this.
It runs without an error, but seconds later we get another connection.
We read this post
And found your comment that we should call
But then we see this
Error logged: TypeError: Cannot read property 'readyState' of null at sendHeartbeat (ss-utils.js:728) at eval (platform-implementation.js:47) at Function.value (platform-implementation.js:47) at eval (platform-implementation.js:47) Original error stack: TypeError: Cannot read property 'readyState' of null at sendHeartbeat (chrome-extension://ljcdojknmlicdfoijbipailgnjfpmlmh/lib/ss-utils.js:728:54)
This is occurring in ss-utils.js:728
if ($.ss.eventSource.readyState === 2) //CLOSED
We attempted to check for nulls at line 728, but then we had stack traces in other places.