Commit 2027327c authored by Kevin Lamonte's avatar Kevin Lamonte

#18 Eliminate initial delay

parent 4bc19560
......@@ -931,10 +931,16 @@ public class TApplication implements Runnable {
* Run this application until it exits.
*/
public void run() {
boolean first = true;
while (!quit) {
// Timeout is in milliseconds, so default timeout after 1 second
// of inactivity.
long timeout = 1000;
if (first) {
first = false;
timeout = 0;
}
// If I've got no updates to render, wait for something from the
// backend or a timer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment