Display and control your Android device
Fix thread leak on Windows
Romain Vimont5d1d5bdc169f
diff --git a/app/src/sys/win/process.c b/app/src/sys/win/process.cindex 6e9da09c..6ae33d86 100644--- a/app/src/sys/win/process.c+++ b/app/src/sys/win/process.c@@ -176,6 +176,8 @@ sc_process_execute_p(const char *const argv[], HANDLE *handle, unsigned flags,free(lpAttributeList);}+ CloseHandle(pi.hThread);+// These handles are used by the child process, close them for this processif (pin) {CloseHandle(stdin_read_handle);