Code polish. Thread.notify -> notifyAll
This commit is contained in:
parent
e8c42ae48d
commit
cf0f04d6a7
@ -45,7 +45,7 @@ class ProcessProxy extends Thread {
|
||||
os.flush(); // this goes to the console, so we don't want to close it!
|
||||
}
|
||||
this.is.close();
|
||||
} catch (IOException e) {
|
||||
} catch (IOException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ class ProcessProxy extends Thread {
|
||||
os.flush();
|
||||
|
||||
synchronized (os) {
|
||||
os.notify();
|
||||
os.notifyAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user