mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-26 04:48:27 -05:00
🎨 Data synchronization supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user