Skip to content

Commit d2784b2

Browse files
committed
Call blocklyWorkspace.dispose() after toolbox tests are finished.
1 parent a23ce38 commit d2784b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/toolbox/toolbox_tests.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class ToolboxTestData {
9595
if (this.index < this.jsonBlocks.length) {
9696
setTimeout(this.testCallback.bind(this), 0);
9797
} else {
98+
this.blocklyWorkspace.dispose();
9899
if (this.onFinish) {
99100
this.onFinish();
100101
}

0 commit comments

Comments
 (0)