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 257dc82 commit a84b993Copy full SHA for a84b993
packages/scratch-gui/src/lib/vm-listener-hoc.jsx
@@ -69,6 +69,8 @@ const vmListenerHOC = function (WrappedComponent) {
69
}
70
componentWillUnmount () {
71
this.props.vm.removeListener('PERIPHERAL_CONNECTION_LOST_ERROR', this.props.onShowExtensionAlert);
72
+ this.props.vm.removeListener('EXTENSION_DATA_LOADING', this.props.onExtensionDataLoading);
73
+
74
if (this.props.attachKeyboardEvents) {
75
document.removeEventListener('keydown', this.handleKeyDown);
76
document.removeEventListener('keyup', this.handleKeyUp);
0 commit comments