core: Don't start new tasks as we're shutting down. #108
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 31m40s

This commit is contained in:
2025-04-20 18:26:44 -04:00
parent e7a03e3283
commit 2a5375b1e7
3 changed files with 20 additions and 0 deletions

View File

@ -364,4 +364,11 @@ tf_android_stop_service_t* tf_task_get_android_stop_service();
*/
void tf_task_check_jobs(tf_task_t* task);
/**
** Check whether tf_task_destroy has been called already.
** @param task The task.
** @return true if the task is in the process of shutting down.
*/
bool tf_task_is_shutting_down(tf_task_t* task);
/** @} */