On 10/30/19 1:57 PM, Gabriel Ivăncescu wrote:
When the engine is closed, even the persistent code is removed.
Signed-off-by: Gabriel Ivăncescugabrielopcode@gmail.com
Removing the context altogether is necessary for the future when it will be ref counted (patch that will come after these).
Why will it be necessary? I'm not sure that initializing the context in SetInterfaceSafetyOptions implementation is an improvement. Can we just remove persistent code from the context when script engine is closed instead? Are safety options really lost on script close?
Jacek