diff options
Diffstat (limited to 'linden/indra/llcommon/llapp.cpp')
-rw-r--r-- | linden/indra/llcommon/llapp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llapp.cpp b/linden/indra/llcommon/llapp.cpp index ebace4e..3ca3782 100644 --- a/linden/indra/llcommon/llapp.cpp +++ b/linden/indra/llcommon/llapp.cpp | |||
@@ -224,6 +224,7 @@ LLSD LLApp::getOptionData(OptionPriority level) | |||
224 | void LLApp::stepFrame() | 224 | void LLApp::stepFrame() |
225 | { | 225 | { |
226 | LLFrameTimer::updateFrameTime(); | 226 | LLFrameTimer::updateFrameTime(); |
227 | LLFrameTimer::updateFrameCount(); | ||
227 | LLEventTimer::updateClass(); | 228 | LLEventTimer::updateClass(); |
228 | mRunner.run(); | 229 | mRunner.run(); |
229 | } | 230 | } |
@@ -492,6 +493,7 @@ void LLApp::setDefaultChildCallback(LLAppChildCallback callback) | |||
492 | 493 | ||
493 | pid_t LLApp::fork() | 494 | pid_t LLApp::fork() |
494 | { | 495 | { |
496 | fflush(NULL); // flush all buffers before the child inherits them | ||
495 | pid_t pid = ::fork(); | 497 | pid_t pid = ::fork(); |
496 | if( pid < 0 ) | 498 | if( pid < 0 ) |
497 | { | 499 | { |