mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Do not try to uninhibit when app is closing
This commit is contained in:
@@ -369,7 +369,6 @@ class ClapperPlayer extends PlayerBase
|
||||
|
||||
if(state !== GstPlayer.PlayerState.BUFFERING) {
|
||||
const root = player.widget.get_root();
|
||||
Misc.inhibitForState(state, root);
|
||||
|
||||
if(this.quitOnStop) {
|
||||
if(state === GstPlayer.PlayerState.STOPPED)
|
||||
@@ -377,6 +376,7 @@ class ClapperPlayer extends PlayerBase
|
||||
|
||||
return;
|
||||
}
|
||||
Misc.inhibitForState(state, root);
|
||||
}
|
||||
|
||||
const clapperWidget = player.widget.get_ancestor(Gtk.Grid);
|
||||
|
Reference in New Issue
Block a user