optimized errorHandler

This commit is contained in:
Robinson 2023-03-17 14:06:32 +01:00
parent 7261a1dcfe
commit 81e2965d10
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -84,9 +84,7 @@ class AeronContext(
// we DO NOT want to abort the JVM if there are errors.
// this replaces the default handler with one that doesn't abort the JVM
mediaDriverContext.errorHandler { error ->
aeronErrorHandler(error)
}
mediaDriverContext.errorHandler(aeronErrorHandler)
return mediaDriverContext
}