Fix player process not exiting after window close

This commit is contained in:
Rafostar
2020-10-15 17:54:28 +02:00
parent 57a8e6d933
commit fa07c4532c
3 changed files with 7 additions and 6 deletions

View File

@@ -287,9 +287,6 @@ class ClapperPlayer extends GstPlayer.Player
while(this._playerSignals.length)
this.disconnect(this._playerSignals.pop());
if(this.state !== GstPlayer.PlayerState.STOPPED)
this.stop();
if(this.run_loop && this.loop.is_running())
this.loop.quit();
}