Skip to content

Commit 1772525

Browse files
committed
fix(NextcloudBookmarks): Try to make interrupt benchmarks work
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 732a7a5 commit 1772525

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/adapters/NextcloudBookmarks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ export default class NextcloudBookmarksAdapter implements Adapter, BulkImportRes
148148
}
149149
}
150150

151+
this.canceled = false
152+
this.ended = false
153+
151154
await this.checkFeatureJavascriptLinks()
152155

153156
this.abortController = new AbortController()
@@ -165,9 +168,6 @@ export default class NextcloudBookmarksAdapter implements Adapter, BulkImportRes
165168
throw new ResourceLockedError()
166169
}
167170
this.lockingInterval = setInterval(() => !this.ended && this.acquireLock(), LOCK_INTERVAL)
168-
169-
this.canceled = false
170-
this.ended = false
171171
}
172172

173173
async onSyncComplete(): Promise<void> {

0 commit comments

Comments
 (0)