Browse code

core: async task logging on no callback

Daniel-Constantin Mierla authored on 26/05/2020 07:24:17
Showing 1 changed files
... ...
@@ -280,6 +280,8 @@ int async_task_run(int idx)
280 280
 			LM_DBG("task executed [%p] (%p/%p)\n", (void*)ptask,
281 281
 					(void*)ptask->exec, (void*)ptask->param);
282 282
 			ptask->exec(ptask->param);
283
+		} else {
284
+			LM_DBG("task with no callback function - ignoring\n");
283 285
 		}
284 286
 		shm_free(ptask);
285 287
 	}