diff options
-rw-r--r-- | macosx/HBCore.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m index 353092830..d784b92c4 100644 --- a/macosx/HBCore.m +++ b/macosx/HBCore.m @@ -618,7 +618,8 @@ typedef void (^HBCoreCleanupHandler)(void); self.progressHandler(self.state, progress, info); - if (self.progress.completedUnitCount < progress.percent * 100) + if (state.state != HB_STATE_SEARCHING && + self.progress.completedUnitCount < progress.percent * 100) { self.progress.completedUnitCount = progress.percent * 100; } |