ext/libuv/src/win/util.c in libuv-0.12.2 vs ext/libuv/src/win/util.c in libuv-0.12.3

- old
+ new

@@ -450,9 +450,10 @@ /* * If the process_title was never read before nor explicitly set, * we must query it with getConsoleTitleW */ if (!process_title && uv__get_process_title() == -1) { + LeaveCriticalSection(&process_title_lock); return uv_translate_sys_error(GetLastError()); } assert(process_title); strncpy(buffer, process_title, size);