aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/entropy/beos_stats/es_beos.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entropy/beos_stats/es_beos.cpp b/src/entropy/beos_stats/es_beos.cpp
index d7c0c6cd6..02a751e6a 100644
--- a/src/entropy/beos_stats/es_beos.cpp
+++ b/src/entropy/beos_stats/es_beos.cpp
@@ -54,6 +54,9 @@ void BeOS_EntropySource::poll(Entropy_Accumulator& accum)
area_info info_area;
while(get_next_area_info(id, &cookie, &info_area) == B_OK)
accum.add(info_area, 2);
+
+ if(accum.polling_goal_achieved())
+ break;
}
}