aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-15 21:34:38 -0800
committerGravatar MarkKoz <[email protected]>2020-02-15 21:34:38 -0800
commitf09d6b0646edb62806b60b145986b7cc680fd77c (patch)
tree7188f22d631d17ce7be29c1c819ad934c8b3b71d /tox.ini
parentModeration: avoid prematurely cancelling deactivation task (diff)
Scheduler: make _scheduled_tasks private
Main concern is someone trying to cancel a task directly. The workaround for the race condition relies on the task only being cancelled via Scheduler.cancel_task(), particularly because it removes the task from the dictionary. The done callback will not remove from the dictionary if it sees the task has already been cancelled. So it's a bad idea to cancel tasks directly...
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions