Commit e13dbdc
authored
Fix registry check loop and ensure periodic checking
Moved the Sleep interval inside the loop in checkRegistry() to ensure the registry key is checked periodically. Previously, the Sleep call was outside the loop, causing the check to run only once. Now, the function checks the registry at regular intervals and exits if the key is not found.1 parent f62d3e7 commit e13dbdc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
| 1849 | + | |
1849 | 1850 | | |
1850 | | - | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
| |||
0 commit comments