]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler: Fix regression in background thread (Issue #934) 937/head
authorAndreas Karlson <a.karlson2608@hotmail.com>
Wed, 10 Apr 2024 12:44:22 +0000 (14:44 +0200)
committerAndreas Karlson <a.karlson2608@hotmail.com>
Wed, 10 Apr 2024 13:22:40 +0000 (15:22 +0200)
commit2e65a35cd7a36fe003998adde7a087736a0582dc
tree5592b16e58f48e407713129f4f9d4932b61cb924
parent6aeb03bd071300844cb0712ff0b97c18743ad212
scheduler: Fix regression in background thread (Issue #934)

The con->bg_pending value is used to indicate that the background thread
has finished running and that the connection can be safely closed.

This commit makes the con->bg_pending = 0 only after the connection
can be safely closed.
scheduler/ipp.c