DBraun / TD-JUCE

JUCE audio and VSTs in TouchDesigner
Other
36 stars 3 forks source link

Memory leak when deleting VST plugin and crash when changing Windows context #3

Open DBraun opened 3 years ago

DBraun commented 3 years ago

The VST Plugin appears to not release all of its resources when you delete it. You can check this by using the Task Manager, looking at CPU memory, and repeatedly cutting/pasting a VST with a valid VST plugin path so that it loads.

There's a second issue with deleting the plugin and switching the Windows context to a program other than TouchDesigner. If you delete the plugin, undo the delete, and switch to another program, it doesn't crash. If you delete the plugin and switch to another program, it does crash.