We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d4f23 commit e154a65Copy full SHA for e154a65
GRDB/Core/DatabasePool.swift
@@ -354,7 +354,6 @@ extension DatabasePool: DatabaseReader {
354
public func read<T: Sendable>(
355
_ value: @escaping @Sendable (Database) throws -> T
356
) async throws -> T {
357
- GRDBPrecondition(currentReader == nil, "Database methods are not reentrant.")
358
guard let readerPool else {
359
throw DatabaseError.connectionIsClosed()
360
}
0 commit comments