🐛 Windows 端部分系统上内核崩溃 https://github.com/siyuan-note/siyuan/issues/7806

This commit is contained in:
Liang Ding 2023-03-28 19:40:07 +08:00
parent bec14bf7db
commit 0d71170331
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -313,8 +313,6 @@ func existAvailabilityStatus(workspaceAbsPath string) bool {
return false
}
logging.LogInfof("check workspace [%s] availability status", checkAbsPath)
runtime.LockOSThread()
defer runtime.LockOSThread()
if err := ole.CoInitializeEx(0, ole.COINIT_MULTITHREADED); nil != err {