File tree Expand file tree Collapse file tree 6 files changed +14
-6
lines changed
supabase-edge-function-auth Expand file tree Collapse file tree 6 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies:
1111 flutter :
1212 sdk : flutter
1313
14- powersync : ^1.4.1
14+ powersync : ^1.4.2
1515 path_provider : ^2.1.1
1616 supabase_flutter : ^2.0.2
1717 path : ^1.8.3
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies:
1111 flutter :
1212 sdk : flutter
1313
14- powersync : ^1.4.1
14+ powersync : ^1.4.2
1515 path_provider : ^2.1.1
1616 supabase_flutter : ^2.0.2
1717 path : ^1.8.3
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ dependencies:
3737
3838 supabase_flutter : ^1.10.25
3939 timeago : ^3.6.0
40- powersync : ^1.4.1
40+ powersync : ^1.4.2
4141 path_provider : ^2.1.1
4242 path : ^1.8.3
4343 logging : ^1.2.0
Original file line number Diff line number Diff line change 1+ ## 1.4.2
2+
3+ - Fix ` Bad state: Future already completed ` error when calling ` disconnectAndClear() ` .
4+
15## 1.4.1
26
37- Upgrades dependency ` powersync_flutter_libs ` to version ` 0.1.0 ` .
Original file line number Diff line number Diff line change @@ -17,14 +17,18 @@ class AbortController {
1717 /// Abort, and wait until aborting is complete.
1818 Future <void > abort () async {
1919 aborted = true ;
20- _abortRequested.complete ();
20+ if (! _abortRequested.isCompleted) {
21+ _abortRequested.complete ();
22+ }
2123
2224 await _abortCompleter.future;
2325 }
2426
2527 /// Signal that an abort has completed.
2628 void completeAbort () {
27- _abortCompleter.complete ();
29+ if (! _abortCompleter.isCompleted) {
30+ _abortCompleter.complete ();
31+ }
2832 }
2933
3034 /// Signal that an abort has failed.
Original file line number Diff line number Diff line change 11name : powersync
2- version : 1.4.1
2+ version : 1.4.2
33homepage : https://powersync.com
44repository : https://github.com/powersync-ja/powersync.dart
55description : PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases.
You can’t perform that action at this time.
0 commit comments