mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Issue 950: NPE Compiler.java:407
This commit is contained in:
@ -401,10 +401,12 @@ public class Compiler implements MessageConsumer {
|
|||||||
boolean compiling = true;
|
boolean compiling = true;
|
||||||
while (compiling) {
|
while (compiling) {
|
||||||
try {
|
try {
|
||||||
if (in.thread != null)
|
Thread t = in.thread;
|
||||||
in.thread.join();
|
if (t != null)
|
||||||
if (err.thread != null)
|
t.join();
|
||||||
err.thread.join();
|
t = err.thread;
|
||||||
|
if (t != null)
|
||||||
|
t.join();
|
||||||
result = process.waitFor();
|
result = process.waitFor();
|
||||||
//System.out.println("result is " + result);
|
//System.out.println("result is " + result);
|
||||||
compiling = false;
|
compiling = false;
|
||||||
|
Reference in New Issue
Block a user