fix: shorten tonioware wait, else it just gets stuck

This commit is contained in:
zaaarf 2023-11-28 00:25:58 +01:00
parent e64939d156
commit e9527077e2
No known key found for this signature in database
GPG key ID: 6445A5CD15E5B40C
2 changed files with 1 additions and 2 deletions

View file

@ -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);
} }

View file

@ -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;