mirror of
https://github.com/hexedtech/codemp-intellij.git
synced 2024-11-21 22:54:48 +01:00
fix: shorten tonioware wait, else it just gets stuck
This commit is contained in:
parent
e64939d156
commit
e9527077e2
2 changed files with 1 additions and 2 deletions
|
@ -52,7 +52,7 @@ public class BufferEventAwaiterTask extends Task.Backgroundable implements Dispo
|
||||||
@SuppressWarnings({"InfiniteLoopStatement", "UnstableApiUsage"})
|
@SuppressWarnings({"InfiniteLoopStatement", "UnstableApiUsage"})
|
||||||
public void run(@NotNull ProgressIndicator indicator) {
|
public void run(@NotNull ProgressIndicator indicator) {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1000); //tonioware
|
Thread.sleep(100); //tonioware
|
||||||
} catch(InterruptedException ex) {
|
} catch(InterruptedException ex) {
|
||||||
throw new RuntimeException(ex);
|
throw new RuntimeException(ex);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package com.codemp.intellij.task;
|
package com.codemp.intellij.task;
|
||||||
|
|
||||||
import com.codemp.intellij.CodeMP;
|
import com.codemp.intellij.CodeMP;
|
||||||
import com.codemp.intellij.exceptions.CodeMPException;
|
|
||||||
import com.codemp.intellij.jni.CursorEventWrapper;
|
import com.codemp.intellij.jni.CursorEventWrapper;
|
||||||
import com.codemp.intellij.jni.CursorHandler;
|
import com.codemp.intellij.jni.CursorHandler;
|
||||||
import com.codemp.intellij.util.ColorUtil;
|
import com.codemp.intellij.util.ColorUtil;
|
||||||
|
|
Loading…
Reference in a new issue