summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/unix/bsd-proctitle.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibuv/src/unix/bsd-proctitle.c')
-rw-r--r--Utilities/cmlibuv/src/unix/bsd-proctitle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/unix/bsd-proctitle.c b/Utilities/cmlibuv/src/unix/bsd-proctitle.c
index 4f4e9e5..b0c01e2 100644
--- a/Utilities/cmlibuv/src/unix/bsd-proctitle.c
+++ b/Utilities/cmlibuv/src/unix/bsd-proctitle.c
@@ -38,6 +38,7 @@ static void init_process_title_mutex_once(void) {
void uv__process_title_cleanup(void) {
+ uv_once(&process_title_mutex_once, init_process_title_mutex_once);
uv_mutex_destroy(&process_title_mutex);
}