forked from cory/tildefriends
core: Don't start new tasks as we're shutting down. #108
This commit is contained in:
@ -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);
|
||||
|
||||
/** @} */
|
||||
|
Reference in New Issue
Block a user