[Gambas-bugtracker] Bug #2560: App keeps running after closing since Gambas 3.17.2

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu May 26 01:04:05 CEST 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2560&from=L21haW4-

Comment #1 by Benoît MINISINI:

It's because you still have variables that hold a reference to a MediaPipeline object (the MediaPlayer actually).

Each MediaPipeline object internally runs a timer that is needed for polling the GStreamer message queue, and that is stopped only when the MediaPipeline is freed.

As your MediaPlayer is not freed, the timer still run, preventing the program to be freed.

A timer can be marked as to be ignored when quitting, but this is not the case at the moment for the internal timer created by the MediaPipeline class.

I will find a solution.

Benoît MINISINI changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list