Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): bump sqlite3_connection_pool to 0.2.13 (#32662)

Santo Shakil539499ee5e38
diff --git a/mobile/lib/data/db/main/database.dart b/mobile/lib/data/db/main/database.dart
index b1e91ead36..0edb28840c 100644
--- a/mobile/lib/data/db/main/database.dart
+++ b/mobile/lib/data/db/main/database.dart
@@ -122,7 +122,7 @@ class Drift extends $Drift {
@override
Future<void> close() async {
await super.close();
- _updatePool?.close();
+ await _updatePool?.close();
}
Future<void> reset() async {
diff --git a/mobile/pubspec.lock b/mobile/pubspec.lock
index 0b20d8bd4f..de6ececa18 100644
--- a/mobile/pubspec.lock
+++ b/mobile/pubspec.lock
@@ -1679,10 +1679,10 @@ packages:
dependency: "direct main"
description:
name: sqlite3_connection_pool
- sha256: ad51972d37bdf82929888e4c85e722bd9a0b5ff8ad389f89b1b00d19603c0d2d
+ sha256: ad8413d9100598ee9ef1a27628f5673b7d9212fb9d15b2742f7fde690f743832
url: "https://pub.dev"
source: hosted
- version: "0.2.7"
+ version: "0.2.13"
sqlite3_web:
dependency: transitive
description:
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index 5d9956767e..b70a109bb2 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -71,7 +71,7 @@ dependencies:
stream_transform: ^2.1.1
sqlite3: ^3.4.0
sqlite_async: 0.14.2
- sqlite3_connection_pool: ^0.2.7
+ sqlite3_connection_pool: ^0.2.13
timezone: ^0.9.4
url_launcher: ^6.3.2
uuid: ^4.6.0
diff --git a/mobile/test/infrastructure/db_watchers_test.dart b/mobile/test/infrastructure/db_watchers_test.dart
index c8eed85bae..0b6eefc214 100644
--- a/mobile/test/infrastructure/db_watchers_test.dart
+++ b/mobile/test/infrastructure/db_watchers_test.dart
@@ -57,7 +57,7 @@ Future<void> _writerTask(String path) async {
} finally {
await db.close();
await dbConnection.close();
- sqlitePool.close();
+ await sqlitePool.close();
}
}