Simplify pack hosting with JDK HTTP server and reduce resource handling state
This commit is contained in:
@@ -46,7 +46,7 @@ public final class PackRuntime implements AutoCloseable {
|
||||
this.host = new PackHost(config.hosting);
|
||||
}
|
||||
|
||||
public void start() throws IOException, InterruptedException {
|
||||
public void start() throws IOException {
|
||||
if (!config.enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user