mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-19 21:16:30 +02:00
Ensure CLI is closed when update is done
This commit is contained in:
parent
79a983bc2f
commit
dbdd1fb9f3
@ -442,6 +442,9 @@ public class UpdateManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Shut down the thread pool when the update is done
|
||||||
|
threadPool.shutdown();
|
||||||
|
|
||||||
List<IExceptionDetails> failedTasks2ElectricBoogaloo = nonFailedFirstTasks.stream().filter(t -> t.getException() != null).collect(Collectors.toList());
|
List<IExceptionDetails> failedTasks2ElectricBoogaloo = nonFailedFirstTasks.stream().filter(t -> t.getException() != null).collect(Collectors.toList());
|
||||||
if (!failedTasks2ElectricBoogaloo.isEmpty()) {
|
if (!failedTasks2ElectricBoogaloo.isEmpty()) {
|
||||||
errorsOccurred = true;
|
errorsOccurred = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user