also *throw* exception
This commit is contained in:
@@ -92,7 +92,7 @@ public class AsyncExecutor {
|
|||||||
try {
|
try {
|
||||||
executor.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);
|
executor.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
new RuntimeException("Couldn't shutdown loading thread");
|
throw new RuntimeException("Couldn't shutdown loading thread");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user