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 4d03446 commit 55728e3Copy full SHA for 55728e3
src/lib/Account.ts
@@ -363,6 +363,7 @@ export default class Account {
363
async cancelSync():Promise<void> {
364
if (!this.syncing) return
365
this.server.cancel()
366
+ this.getResource().then(resource => resource.cancel())
367
if (this.syncProcess) {
368
await this.syncProcess.cancel()
369
}
src/lib/strategies/Default.ts
@@ -140,6 +140,7 @@ export default class SyncProcess {
140
async cancel() :Promise<void> {
141
this.canceled = true
142
143
+ this.localTree.cancel()
144
145
146
updateProgress():void {
0 commit comments