diff --git a/glass-easel/src/component_space.ts b/glass-easel/src/component_space.ts index 41e37b4..f0df83b 100644 --- a/glass-easel/src/component_space.ts +++ b/glass-easel/src/component_space.ts @@ -104,7 +104,7 @@ export class ComponentWaitingList { remove(callback: (c: GeneralComponentDefinition) => void) { const index = this._$callbacks.indexOf(callback) // must guarantee order here (cannot swap-remove) - this._$callbacks.splice(index, 1) + if (index !== 1) this._$callbacks.splice(index, 1) } call(c: GeneralComponentDefinition) {