Merge pull request #738 from mpretty-cyro/fix/global-search-crash

Fixed a crash which could occur in global search
pull/739/head
RyanZhao 2 years ago committed by GitHub
commit a7f245e6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,6 +32,8 @@ public extension Database {
} }
func interrupt() { func interrupt() {
guard sqliteConnection != nil else { return }
sqlite3_interrupt(sqliteConnection) sqlite3_interrupt(sqliteConnection)
} }
} }

Loading…
Cancel
Save