• Jordan Petridis's avatar
    EpisodeWidget: Do not lock the Proggress struck when running update callbacks. · 9b0ac5b8
    Jordan Petridis authored
    Previously each time we wanted to inspect the `Progress` struct we
    were blocking which was problematic since the downloader also wants
    to block to update it.
    
    Now we use try_lock() and if a lock can't be aquired we requeue another
    callback. That way we can also be way more aggressive about the interval
    in whihc it the callbacks will run.
    9b0ac5b8
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
hammond-data Loading commit data...
hammond-downloader Loading commit data...
hammond-gtk Loading commit data...
screenshots Loading commit data...
scripts Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
hammond.doap Loading commit data...
meson.build Loading commit data...
org.gnome.Hammond.json Loading commit data...
rustfmt.toml Loading commit data...