[PATCH 03/13] msscript.ocx: Add initial IScriptModule stub implementation.

Nikolay Sivov nsivov at codeweavers.com
Thu Apr 9 15:27:28 CDT 2020


On 4/9/20 5:34 PM, Gabriel Ivăncescu wrote:
> Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
> ---
>
> We have to treat a ref count of 0 in a special manner when they are linked
> to the script control, because the modules must exist even when they have
> no external refs (as the script control can still use them).
>
> However, as evidenced by the tests, they must *not* keep a ref to the script
> control in this case, as it would create a circular ref and make no sense,
> anyway.
An alternative to that is to separate actual data of such script_module, 
using separate refcount, and IScriptModule accessor object.



More information about the wine-devel mailing list