mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Do not try to dispose non-existing window
This commit is contained in:
@@ -391,7 +391,7 @@ class ClapperPlayer extends PlayerBase
|
|||||||
const root = player.widget.get_root();
|
const root = player.widget.get_root();
|
||||||
|
|
||||||
if(this.quitOnStop) {
|
if(this.quitOnStop) {
|
||||||
if(state === GstPlayer.PlayerState.STOPPED)
|
if(root && state === GstPlayer.PlayerState.STOPPED)
|
||||||
root.run_dispose();
|
root.run_dispose();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user