VST2 plugin not getting "close plugin opcode" (opcode 1) (in: MuTools)

By: pestis
30 Apr 08:00

Hi,

I think VST2 plugins are supposed to get opcode 1 (close plugin) as a last thing, to advice them to free all its memory, yet I don’t seem to be getting them. This leads to certain aspects of my plugin leaking memory & resources (e.g. I’m running some separate GUI and background threads).

Replicating the bug is easy: add a VST2 plugin to a rack and then delete it while debugging & having breakpoints to watch what opcodes are coming; opcode 1 doesn’t seem to ever arrive (?).

P.S. “b…

About: MuLab App

Go to this post

Go to first unread post in this topic

Read more here: Source link