resetForReuse

open override fun resetForReuse(nullGlobalContext: Boolean)

Resets the context and also clears the imports and restores the default isolation, so the next borrower from a pool starts clean.

Parameters

nullGlobalContext

ignored: the Java engine needs a global scope, so one is always kept