🐛 多开工作空间 锁屏 后访问鉴权失败 https://github.com/siyuan-note/siyuan/issues/7038

This commit is contained in:
Liang Ding 2023-01-12 16:35:32 +08:00
parent aaec2300a9
commit aee282539a
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 8 additions and 9 deletions

View file

@ -80,3 +80,7 @@ func GetWorkspaceSession(session *SessionData) (ret *WorkspaceSession) {
}
return
}
func RemoveWorkspaceSession(session *SessionData) {
delete(session.Workspaces, WorkspaceDir)
}