diff --git a/src/runtime/SrcDocIFrameController.ts b/src/runtime/SrcDocIFrameController.ts index 44a6a31..0782d82 100644 --- a/src/runtime/SrcDocIFrameController.ts +++ b/src/runtime/SrcDocIFrameController.ts @@ -110,7 +110,6 @@ export class SrcDocIFrameController extends Disposable implements IEmbeddedConte this.iframeController = controller; - // TODO: is dispose in this line works correct? this.dispose.add(controller.on('resize', (value) => this.updateIFrameHeight(value.height))); this.dispose.add(() => controller.dispose());