Stop replay before exiting Replay app, to avoid freeze.

This commit is contained in:
Jared Boone 2020-05-29 14:52:11 -07:00 committed by GitHub
parent acbb100d64
commit f2886715ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,6 +231,7 @@ ReplayAppView::~ReplayAppView() {
} }
void ReplayAppView::on_hide() { void ReplayAppView::on_hide() {
stop(false);
// TODO: Terrible kludge because widget system doesn't notify Waterfall that // TODO: Terrible kludge because widget system doesn't notify Waterfall that
// it's being shown or hidden. // it's being shown or hidden.
waterfall.on_hide(); waterfall.on_hide();