@eht16 commented on this pull request.
{
+ AoTasksUpdateTasksForDocArguments *arguments = data; + AoTasks *t = arguments->t;
I think so. The `AoTasks` object exists as long as the Addons plugin is loaded, independently of opened documents and independent of whether the Tasks addon is enabled or not.
While in theory possible I think it's highly unlikely that a user will manage to unload the Addons plugin or even only to quit Geany so that the `AoTasks` object will be destroyed while an idle callback is still waiting to be executed.