mirror of https://github.com/lapce/lapce.git
handle_stderr should return
This commit is contained in:
parent
c2b7df99d9
commit
36c6c7d12f
|
@ -848,7 +848,9 @@ fn handle_stderr(&self, stderr: ChildStderr, language_id: String) {
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
buffer.clear();
|
buffer.clear();
|
||||||
let _result = reader.read_line(&mut buffer);
|
if reader.read_line(&mut buffer).is_err() {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if buffer.trim().is_empty() {
|
if buffer.trim().is_empty() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue