• Carlos Garnacho's avatar
    libtracker-miner,crawler: Use a cancellable per crawled directory · 4896092d
    Carlos Garnacho authored
    Reusing the cancellable might bring in issues if tracker_crawler_start()
    (which resets the cancellable) is called shortly after tracker_crawler_stop().
    So pending async tasks that do check for g_cancellable_is_cancelled() might
    run into the wrong state. Possibly fixes NB#287480.
    
    The cancellable might be used to cancel the current operation, but then
    reset and reused for the next one, while the previous operation could
    still be on the way to be cancelled. Instead, create a new cancellable
    to handle any following task.
    4896092d
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
examples Loading commit data...
m4 Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-0-6-93 Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.decl Loading commit data...
NEWS Loading commit data...
README Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gitlog-to-changelog Loading commit data...
tracker.doap Loading commit data...