reset the endpoint config (not the initial config) when resetting.

This commit is contained in:
Robinson 2023-08-09 16:37:09 -06:00
parent 9a30c031ef
commit eaafc0f0c4
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ internal class AeronDriverInternal(endPoint: EndPoint<*>?, private val config: C
logger.debug { "Aeron Driver [$driverId]: Closed the media driver at '${driverDirectory}'" }
// reset our contextDefine value, so that this configuration can safely be reused
config.contextDefined = false
endPoint?.config?.contextDefined = false
// actually remove it, since we've passed all the checks to guarantee it's closed...
AeronDriver.driverConfigurations.remove(driverId)