🎨 Data synchronization supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518

This commit is contained in:
Daniel 2023-06-11 23:31:33 +08:00
parent 529b14f8a8
commit 67db4e39c5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -650,6 +650,8 @@ var (
)
func closeSyncWebSocket() {
defer logging.Recover()
webSocketConnLock.Lock()
defer webSocketConnLock.Unlock()
@ -657,6 +659,8 @@ func closeSyncWebSocket() {
webSocketConn.Close()
webSocketConn = nil
}
logging.LogInfof("sync websocket closed")
}
func connectSyncWebSocket() {