diff --git a/src/plugins/liveobjects/liveobject.ts b/src/plugins/liveobjects/liveobject.ts index 6682332b9..8e3fa8a08 100644 --- a/src/plugins/liveobjects/liveobject.ts +++ b/src/plugins/liveobjects/liveobject.ts @@ -71,6 +71,10 @@ export abstract class LiveObject< this._eventEmitter.off(LiveObjectEvents.Updated, listener); } + unsubscribeAll(): void { + this._eventEmitter.off(LiveObjectEvents.Updated); + } + /** * @internal */