Fix video unloading in streaming in WebPage-s.

Fixes #7778.
This commit is contained in:
John Preston 2020-05-04 13:26:35 +04:00
parent 5180d31b40
commit 1af394a485
3 changed files with 18 additions and 0 deletions

View File

@ -78,6 +78,12 @@ public:
return _attach.get();
}
void unloadHeavyPart() override {
if (_attach) {
_attach->unloadHeavyPart();
}
}
void parentTextUpdated() override;
~Game();

View File

@ -66,6 +66,12 @@ public:
return false;
}
void unloadHeavyPart() override {
if (_attach) {
_attach->unloadHeavyPart();
}
}
Media *attach() const {
return _attach.get();
}

View File

@ -81,6 +81,12 @@ public:
}
bool enforceBubbleWidth() const override;
void unloadHeavyPart() override {
if (_attach) {
_attach->unloadHeavyPart();
}
}
Media *attach() const {
return _attach.get();
}