mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🎨 Data synchronization supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518
This commit is contained in:
parent
529b14f8a8
commit
67db4e39c5
1 changed files with 4 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue