Thread: Avisynth+
View Single Post
Old 27th June 2016, 15:10   #1852  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
Pinterf, I took your branch.

The destruction sequence is the problem. This is something to be very careful about so it's better if I don't touch it; it touches the core of AVS and will affect every plugin.

Code:
ScriptEnvironment::~ScriptEnvironment() {

  closing = true;

  // Before we start to pull the world apart
  // give every one their last wish.
  at_exit.Execute(this);
Here it wants to execute these functions before pulling the world apart, and with VDubFilter we must call the destructor before calling these functions.
MysteryX is offline