mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2026-08-22 18:32:31 -04:00
Merge remote-tracking branch 'origin/GP-1-dragonmacher-swing-updater-delay-issue' into patch
This commit is contained in:
commit
44ca91a905
1 changed files with 2 additions and 2 deletions
|
|
@ -319,13 +319,13 @@ public abstract class AbstractSwingUpdateManager {
|
|||
|
||||
// if past maximum delay, always do work
|
||||
long timeSinceBufferingStart = now - bufferingStartTime;
|
||||
if (timeSinceBufferingStart > maxDelay) {
|
||||
if (timeSinceBufferingStart >= maxDelay) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// if no new requests have come in since the last time we checked, do work
|
||||
long timeSinceLastRequest = now - requestTime;
|
||||
if (timeSinceLastRequest > minDelay) {
|
||||
if (timeSinceLastRequest >= minDelay) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue