Commit 864fe2c
committed
mintUpdate.py: Fix auto-refresh loop race condition.
The refresh() function is an _idle function, and being called from
the auto-refresh thread. Because of this, the thread ends up looping
before the 'refresh-last-run' value can be updated, causing another
refresh to occur 1 minute later. This happens for every periodic
refresh.
ref: #10171 parent f0cd05e commit 864fe2c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1162 | 1167 | | |
1163 | 1168 | | |
1164 | 1169 | | |
| |||
0 commit comments