optimized errorHandler
This commit is contained in:
parent
7261a1dcfe
commit
81e2965d10
@ -84,9 +84,7 @@ class AeronContext(
|
|||||||
|
|
||||||
// we DO NOT want to abort the JVM if there are errors.
|
// 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
|
// this replaces the default handler with one that doesn't abort the JVM
|
||||||
mediaDriverContext.errorHandler { error ->
|
mediaDriverContext.errorHandler(aeronErrorHandler)
|
||||||
aeronErrorHandler(error)
|
|
||||||
}
|
|
||||||
|
|
||||||
return mediaDriverContext
|
return mediaDriverContext
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user