mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fix for bug 950 -- NPE Compiler.java:407 -- also searched for any other instances & found two other cases of the same bug
This commit is contained in:
@ -401,12 +401,8 @@ public class Compiler implements MessageConsumer {
|
||||
boolean compiling = true;
|
||||
while (compiling) {
|
||||
try {
|
||||
Thread t = in.thread;
|
||||
if (t != null)
|
||||
t.join();
|
||||
t = err.thread;
|
||||
if (t != null)
|
||||
t.join();
|
||||
in.join();
|
||||
err.join();
|
||||
result = process.waitFor();
|
||||
//System.out.println("result is " + result);
|
||||
compiling = false;
|
||||
|
Reference in New Issue
Block a user