🎨 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
+4
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() {