]> git.hungrycats.org Git - bees/commit
roots: drop unnecessary mutex unlock in stop_request
authorZygo Blaxell <bees@furryterror.org>
Mon, 3 Feb 2025 04:30:26 +0000 (23:30 -0500)
committerZygo Blaxell <bees@furryterror.org>
Fri, 7 Feb 2025 04:14:16 +0000 (23:14 -0500)
commitc1d7fa13a56003e0a934c9651b30d0be4e70c5e7
treed1bc74ee499c48debd0be400df52f7c0ddb8ddf1
parentaa39bddb2d23144548237a236b973abd1232a8aa
roots: drop unnecessary mutex unlock in stop_request

In commit 31b2aa3c0dcf042559fa495b63a1bf22bac4d55d ("context: speed
up orderly process termination"), the stop request was split into two
methods after the mutex unlock.

Now that there's nothing after the mutex unlock in `stop_request`,
there's no need for an explicit unlock to do what the destructor would
have done anyway.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-roots.cc