Skip to content

Commit

Permalink
call destructor of PClip when exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
chikuzen committed Jul 23, 2016
1 parent 113d903 commit 5df8c4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/avs2pipemod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Avs2PipeMod::Avs2PipeMod(HMODULE d, ise_t* e, PClip c, const char* in) :

Avs2PipeMod::~Avs2PipeMod()
{
clip.~PClip();
AVS_linkage = nullptr;
env->DeleteScriptEnvironment();
FreeLibrary(dll);
Expand Down

0 comments on commit 5df8c4d

Please sign in to comment.