Skip to content

Commit

Permalink
Remove defunct application class
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Jun 24, 2019
1 parent 4cb7643 commit c02a3d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 270 deletions.
261 changes: 0 additions & 261 deletions core/runtime/src/main/java/io/quarkus/runtime/Application.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import com.fasterxml.jackson.databind.ObjectReader;

import io.quarkus.arc.runtime.BeanContainer;
import io.quarkus.runtime.Application;
import io.quarkus.runtime.RuntimeValue;
import io.quarkus.runtime.ShutdownContext;
import io.quarkus.runtime.annotations.Template;
Expand Down Expand Up @@ -76,10 +75,7 @@ public void run() {
postResponse(AmazonLambdaApi.invocationResponse(requestId), response, mapper);
} catch (Exception e) {
log.error("Error running lambda", e);
Application app = Application.currentApplication();
if (app != null) {
app.stop();
}
Execution.requestExit(0);
return;
} finally {
requestConnection.getInputStream().close();
Expand All @@ -96,10 +92,7 @@ public void run() {
log.error("Failed to report init error", ex);
} finally {
//our main loop is done, time to shutdown
Application app = Application.currentApplication();
if (app != null) {
app.stop();
}
Execution.requestExit(0);
}
}
}
Expand Down

0 comments on commit c02a3d8

Please sign in to comment.