Quote:
Originally Posted by stax76
I think MeGUI sets it to null even if there are still instances active, isn't that wrong?
|
Instances of what? You can have more than one script environment running in separate processes/threads.
In the code to which you linked, the "AVS_linkage = 0;" statement is preceded by the proper "DeleteScriptEnvironment()" which is correct.
The "delete pstr->env;" statement for Avisynth 2.5x is however not recommended, see
here.