mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fix occasional crash when connecting to pstats
This commit is contained in:
parent
1c1efa7f17
commit
2ea3e3f65a
@ -1960,7 +1960,7 @@ flush_timer_queries() {
|
||||
|
||||
if (_pending_timer_queries[i]->is_answer_ready()) {
|
||||
first = count;
|
||||
while (i < count) {
|
||||
while (i < count - 1) {
|
||||
if (!_pending_timer_queries[++i]->is_answer_ready()) {
|
||||
first = i;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user