From: Michael R Sweet Date: Wed, 10 Apr 2024 18:09:42 +0000 (-0400) Subject: Don't mark BG thread done until the response is sent. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d95df810008ca7bc11c997d98b209f758d5b9ab0;p=thirdparty%2Fcups.git Don't mark BG thread done until the response is sent. --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 798a8044c1..b80692f9fa 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -5513,10 +5513,10 @@ create_local_bg_thread( ippDelete(response); - con->bg_pending = 0; - send_response(con); + con->bg_pending = 0; + return (NULL); }