[PATCH v2 7/8] vbscript: Destroy the entire script context when the script engine is closed.

Jacek Caban jacek at codeweavers.com
Wed Oct 30 09:25:18 CDT 2019


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ăncescu<gabrielopcode at 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




More information about the wine-devel mailing list