ssb: Add a publish command that can be used to publish messages from the command-line.

This commit is contained in:
2024-10-23 15:38:07 -04:00
parent 2f193e64c8
commit de20274589
3 changed files with 121 additions and 5 deletions

View File

@ -1530,7 +1530,7 @@ static void _tf_task_run_jobs_async(uv_async_t* async)
void tf_task_check_jobs(tf_task_t* task)
{
if (JS_IsJobPending(task->_runtime))
if (task && JS_IsJobPending(task->_runtime))
{
uv_async_send(&task->run_jobs_async);
}