Fixed broken master. (#3906)

This commit is contained in:
Michele Sollecito 2018-09-06 15:07:03 +01:00 committed by GitHub
parent 793ee3e1ee
commit 20cd4539d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -966,6 +966,7 @@ fun <DI : DriverDSL, D : InternalDriverDSL, A> genericDriver(
DriverDSLImpl.log.error("Driver shutting down because of exception", exception)
throw exception
} finally {
driverDsl.shutdown()
shutdownHook.cancel()
serializationEnv.unset()
}