From 6f2c9acd1841ca20a1388b34aef64e9f00459090 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 9 Mar 2017 18:03:27 +0300 Subject: Processes refactoring. The cycle has been renamed to the runtime. --- src/nxt_event_conn_job_sendfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_event_conn_job_sendfile.c') diff --git a/src/nxt_event_conn_job_sendfile.c b/src/nxt_event_conn_job_sendfile.c index bf2219f2..a283de86 100644 --- a/src/nxt_event_conn_job_sendfile.c +++ b/src/nxt_event_conn_job_sendfile.c @@ -182,7 +182,7 @@ nxt_event_conn_job_sendfile_return(nxt_task_t *task, void *obj, void *data) b = jbs->out; /* The job must be destroyed before connection error handler. */ - nxt_job_destroy(jbs); + nxt_job_destroy(task, jbs); if (c->write_state->process_buffers) { b = nxt_event_conn_job_sendfile_completion(task, c, b); -- cgit