parent
23d130b209
commit
ffb49220cf
@ -425,6 +425,7 @@ uv_err_t uv_get_process_title(char* buffer, size_t size) {
|
||||
* we must query it with getConsoleTitleW
|
||||
*/
|
||||
if (!process_title && uv__get_process_title() == -1) {
|
||||
LeaveCriticalSection(&process_title_lock);
|
||||
return uv__new_sys_error(GetLastError());
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user