Skip to content

Commit 29aa782

Browse files
authored
Run message loop more often
1 parent 0a9b9c2 commit 29aa782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/org.eclipse.set.browser/src/org/eclipse/set/browser/cef/MessageLoop.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @author Stuecker
2323
*/
2424
public class MessageLoop {
25-
private static final int LOOP = 75;
25+
private static final int LOOP = 5;
2626

2727
private boolean loopDisable;
2828

@@ -119,7 +119,7 @@ public void start() {
119119
loopWork = () -> {
120120
if (!loopShutdown && !Display.getDefault().isDisposed()) {
121121
loop_work();
122-
Display.getDefault().timerExec(LOOP * 2, loopWork);
122+
Display.getDefault().timerExec(LOOP, loopWork);
123123
}
124124
};
125125
Display.getDefault().timerExec(LOOP, loopWork);

0 commit comments

Comments
 (0)