Skip to content

Commit

Permalink
feat(srcDoc): deleted TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
makhnatkin committed Sep 3, 2024
1 parent 46541d8 commit 21caea6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/SrcDocIFrameController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 21caea6

Please sign in to comment.