Skip to content

Commit

Permalink
Prevent leak of process handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakov5776 authored and animeavi committed Jul 18, 2023
1 parent dfb2625 commit e311585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Win11DisableRoundedCorners/Win11DisableRoundedCorners.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ int main(int argc, char** argv)
&pi
);
WaitForSingleObject(pi.hProcess, INFINITE);
CloseHandle(pi.hThread);
Sleep(10000);
if (bRestore)
{
Expand Down

0 comments on commit e311585

Please sign in to comment.