diamondburned / chatkit

chatkit provides a variety of useful widgets for making any chat application in GTK4.
GNU General Public License v3.0
3 stars 2 forks source link

Closing viewer when video is still downloading causes it to keep playing #5

Open diamondburned opened 10 months ago

diamondburned commented 10 months ago

Title. We will likely need to keep track of a context.Context that is cancelled on Destroy, then use this context to determine whether to keep the MediaFile or not. Right now, the media is just bound to the Destroy signal directly, but by the time that gets emitted, there might not even be a media yet.