File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/commonMain/kotlin/com/powersync/db/internal Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 private void onTableUpdate(java.lang.String);
1010 private void onTransactionCommit(boolean);
1111}
12+ -keep class org.sqlite.** { *; }
13+ -dontwarn java.sql.JDBCType
Original file line number Diff line number Diff line change 11package com.powersync.db.internal
22
3+ import co.touchlab.stately.concurrency.AtomicBoolean
34import com.powersync.PowerSyncException
45import com.powersync.PsSqlDriver
5- import kotlinx.atomicfu.atomic
66import kotlinx.coroutines.CompletableDeferred
77import kotlinx.coroutines.CoroutineScope
88import kotlinx.coroutines.joinAll
@@ -26,7 +26,7 @@ internal class ConnectionPool(
2626 size : Int = 5 ,
2727 private val scope : CoroutineScope ,
2828) {
29- val closed = atomic (false )
29+ val closed = AtomicBoolean (false )
3030
3131 private val mutex = Mutex ()
3232 private val connections = List (size) { WrappedConnection (TransactorDriver (factory())) }
You can’t perform that action at this time.
0 commit comments