diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2017-09-29 14:03:06 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2017-09-29 14:40:48 +0200 |
| commit | a153e7abbb36594c27d918aa37dbf0fea17df3fe (patch) | |
| tree | a63e559fccf0ed28e82df5c03ba9cc92810a9aae /opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt | |
| parent | d32b0a0046038770bd6e0fe4450407ad927392cb (diff) | |
Steamline Docker integration
This change improves the Docker integration by pre-building the
application when building the image to prevent having to build the
application at runtime.
Diffstat (limited to 'opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt')
| -rw-r--r-- | opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt b/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt index 104011df..f5a86e64 100644 --- a/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt +++ b/opendc-integration-jpa/src/main/kotlin/nl/atlarge/opendc/platform/JpaExperiment.kt @@ -145,5 +145,6 @@ class JpaExperiment(val manager: EntityManager, } logger.info { "Simulation done" } + manager.close() } } |
