Set popover parent only once and unset on app close

This commit is contained in:
Rafostar
2020-11-10 18:11:59 +01:00
parent 0c307bc606
commit f644710762
3 changed files with 17 additions and 2 deletions

View File

@@ -618,6 +618,7 @@ class ClapperPlayer extends PlayerBase
clapperWidget._saveWindowSize(size);
}
}
clapperWidget.controls._onCloseRequest();
if(this.state === GstPlayer.PlayerState.STOPPED)
return window.run_dispose();