mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Destroy contents when removing view
This commit is contained in:
parent
35d7953b29
commit
4728d09b1d
3 changed files with 2 additions and 2 deletions
|
@ -780,6 +780,7 @@ class IframeView {
|
|||
this.displayed = false;
|
||||
|
||||
this.removeListeners();
|
||||
this.contents.destroy();
|
||||
|
||||
this.stopExpanding = true;
|
||||
this.element.removeChild(this.iframe);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue