Closed brookhong closed 2 years ago
Also happening to me when I call db.interrupt() Crashes in Statement.swift, on
extension FailableIterator {
public func next() -> Element? {
// swiftlint:disable:next force_try
try! failableNext()
}
}
Closing as it is a duplicate of #1118. We're going to keep only one issue opened to track this problem.
Querying in some table is time-consuming, I want to intentionally interrupt previous query with
db.interrupt()
, which works fine.But got below error from previous query, how can I catch the error without crashing the application?
Tried below code, but to no avail.