1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-03 08:45:40 +02:00

Gh 2077 mac app update (#2078)

* Fix #2077. Mac app sometimes stops updating.

* Cleanup logging
This commit is contained in:
Chen-I Lim 2022-01-10 11:34:51 -08:00 committed by GitHub
parent 33407e7dd9
commit 36f66e7ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,10 +256,10 @@ class WSClient {
ws.onopen = () => {
Utils.log('WSClient webSocket opened.')
this.state = 'open'
for (const handler of this.onStateChange) {
handler(this, 'open')
}
this.state = 'open'
}
ws.onerror = (e) => {