This commit is contained in:
Daniel 2024-10-14 20:39:16 +08:00
parent 2da4a885ef
commit 475155b7df
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
14 changed files with 17 additions and 62 deletions

View file

@ -159,9 +159,7 @@ func BookmarkLabels() (ret []string) {
func BuildBookmark() (ret *Bookmarks) {
WaitForWritingFiles()
if !sql.IsEmptyQueue() {
sql.WaitForWritingDatabase()
}
sql.FlushQueue()
ret = &Bookmarks{}
sqlBlocks := sql.QueryBookmarkBlocks()