Skip to content

Commit a5c4f96

Browse files
committed
cleanup
1 parent 81bb049 commit a5c4f96

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

packages/sqlite_async/lib/src/native/database/connection_pool.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,6 @@ class SqliteConnectionPool with SqliteQueries implements SqliteConnection {
241241
connections.addAll(_allReadConnections);
242242
return connections;
243243
}
244-
245-
int getNumConnections() {
246-
// print(
247-
// "TESTING READ: ${_allReadConnections.length} WRITE: ${_writeConnection == null ? 0 : 1}");
248-
return _allReadConnections.length + (_writeConnection == null ? 0 : 1);
249-
}
250244
}
251245

252246
typedef ReadCallback<T> = Future<T> Function(SqliteReadContext tx);

packages/sqlite_async/lib/src/native/database/native_sqlite_connection_impl.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ class SqliteConnectionImpl
108108

109109
@override
110110
Future<void> close() async {
111-
// print("Closing native sqlite Connection ${StackTrace.current}");
112111
eventsPort?.close();
113112
await _connectionMutex.lock(() async {
114113
if (_didOpenSuccessfully) {

0 commit comments

Comments
 (0)