Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Dec 18, 2024
1 parent 40aac96 commit 50755a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/client/src/mill/main/client/InputPumper.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public void run() {
} catch (Exception e) {
n = -1;
}
if (n == -1) {
running = false;
} else {
if (n == -1) running = false;
else if (n == 0) Thread.sleep(1);
else {
try {
dest.write(buffer, 0, n);
dest.flush();
Expand Down

0 comments on commit 50755a1

Please sign in to comment.