mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 04:10:16 +01:00
🎨 Push exit event
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
5b97a65151
commit
8b2151f7d0
1 changed files with 1 additions and 0 deletions
|
|
@ -790,6 +790,7 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
|
|||
}
|
||||
}
|
||||
|
||||
util.BroadcastByType("main", "exit", 0, "", nil)
|
||||
util.UnlockWorkspace()
|
||||
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue