From e91f4c066729d3041d4eba0f1cf3c99fa86d550a Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Wed, 2 Feb 2022 19:15:49 -0500 Subject: [PATCH] Change --- indra/newview/llappdelegate-objc.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llappdelegate-objc.mm b/indra/newview/llappdelegate-objc.mm index 42196d400cc..b08ba3fdd04 100644 --- a/indra/newview/llappdelegate-objc.mm +++ b/indra/newview/llappdelegate-objc.mm @@ -73,8 +73,9 @@ { // Set up recurring calls to oneFrame (repeating timer with timeout 0) // until applicationShouldTerminate. - frameTimer = [NSTimer scheduledTimerWithTimeInterval:0.0 target:self + frameTimer = [NSTimer timerWithTimeInterval:0.0001 target:self selector:@selector(oneFrame) userInfo:nil repeats:YES]; + [[NSRunLoop currentRunLoop] addTimer:frameTimer forMode:NSRunLoopCommonModes]; } else { exit(0); } -- GitLab