From 6cce781b06ae14befce206a940d02db2aed3d8ad Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Sat, 16 Oct 2021 10:20:50 +0000 Subject: [PATCH] bsd: destroy mutex in uv__process_title_cleanup() (#3286) Signed-off-by: Darshan Sen --- src/unix/bsd-proctitle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/unix/bsd-proctitle.c b/src/unix/bsd-proctitle.c index 723b81c0..4f4e9e51 100644 --- a/src/unix/bsd-proctitle.c +++ b/src/unix/bsd-proctitle.c @@ -38,9 +38,7 @@ static void init_process_title_mutex_once(void) { void uv__process_title_cleanup(void) { - /* TODO(bnoordhuis) uv_mutex_destroy(&process_title_mutex) - * and reset process_title_mutex_once? - */ + uv_mutex_destroy(&process_title_mutex); }