Skip to content

Commit fe70ada

Browse files
author
Vivian Li
authored
Clear indexed db on reset (microsoft#7449)
* Clear indexed db on reset * Add to promise chain
1 parent 3b388b6 commit fe70ada

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

webapp/src/workspace.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,7 @@ export function resetAsync() {
13601360
return impl.resetAsync()
13611361
.then(cloudsync.resetAsync)
13621362
.then(db.destroyAsync)
1363+
.then(pxt.BrowserUtils.clearTranslationDbAsync)
13631364
.then(() => {
13641365
pxt.storage.clearLocal();
13651366
data.clearCache();

0 commit comments

Comments
 (0)