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 a6982e7 commit f886bbdCopy full SHA for f886bbd
packages/powersync/lib/src/streaming_sync.dart
@@ -117,7 +117,8 @@ class StreamingSyncImplementation {
117
downloadError: e);
118
119
// On error, wait a little before retrying
120
- await Future.delayed(retryDelay);
+ // When aborting, don't wait
121
+ await Future.any([Future.delayed(retryDelay), _abort!.onAbort]);
122
}
123
124
} finally {
0 commit comments