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 2d0d013 commit 9536037Copy full SHA for 9536037
PowerSync/PowerSync.Common/Client/PowerSyncDatabase.cs
@@ -388,17 +388,14 @@ await Database.WriteTransaction(async tx =>
388
/// Once close is called, this connection cannot be used again - a new one
389
/// must be constructed.
390
/// </summary>
391
- public async Task Close(bool disconnect = true)
+ public new async Task Close()
392
{
393
await WaitForReady();
394
395
if (Closed) return;
396
397
- if (disconnect)
398
- {
399
- await Disconnect();
400
- }
401
+ await Disconnect();
402
base.Close();
403
syncStreamImplementation?.Close();
404
BucketStorageAdapter?.Close();
0 commit comments