diff --git a/Win11DisableRoundedCorners/Win11DisableRoundedCorners.c b/Win11DisableRoundedCorners/Win11DisableRoundedCorners.c index a2aa088..c877403 100644 --- a/Win11DisableRoundedCorners/Win11DisableRoundedCorners.c +++ b/Win11DisableRoundedCorners/Win11DisableRoundedCorners.c @@ -279,6 +279,7 @@ int main(int argc, char** argv) &pi ); WaitForSingleObject(pi.hProcess, INFINITE); + CloseHandle(pi.hThread); Sleep(10000); if (bRestore) { @@ -290,4 +291,4 @@ int main(int argc, char** argv) } printf("Operation successful.\n"); return 0; -} \ No newline at end of file +}