• spiiroin's avatar
    [usb-moded] Forget stale timer id · 00e66881
    spiiroin authored
    The charging_fallback() function has multiple return paths and does
    not always clear timer id variable "charging_timeout". This can later
    on lead to attempts to remove stale timer id - which causes glib to
    emit warnings.
    
    Clear the bookkeeping variable on entry to callback rather than just
    one of the possible return points.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    00e66881
Name
Last commit
Last update
config Loading commit data...
debian Loading commit data...
docs Loading commit data...
openembedded Loading commit data...
rpm Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...