mirror of https://github.com/AMT-Cheif/drift.git
fix: use async syntax to fix timeout when closing database in unit tests (#2459)
Closes #2458
This commit is contained in:
parent
e481f29138
commit
bf8245455c
|
@ -104,8 +104,8 @@ abstract class Sqlite3Delegate<DB extends CommonDatabase>
|
|||
|
||||
@override
|
||||
@mustCallSuper
|
||||
Future<void> close() {
|
||||
return Future(_preparedStmtsCache.disposeAll);
|
||||
Future<void> close() async {
|
||||
_preparedStmtsCache.disposeAll();
|
||||
}
|
||||
|
||||
/// Synchronously prepares and runs [statements] collected from a batch.
|
||||
|
|
Loading…
Reference in New Issue