Skip to content

Commit 789f5c1

Browse files
committed
fix: cleanup entity variable
1 parent e35f0cf commit 789f5c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/state.js

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export class State {
5656
value.filter((id) => id !== entity.id)
5757
)
5858
})
59+
60+
delete window[entity.id]
5961
}
6062

6163
hasDependency(variable) {

0 commit comments

Comments
 (0)