修复vst2host退出时可能会崩溃的问题
This commit is contained in:
parent
bcfcb91cca
commit
ecb3b0fdfa
@ -169,9 +169,7 @@ vst2_plugin_host::vst2_plugin_host() : plugin_host(type) {
|
||||
vst2_plugin_host::~vst2_plugin_host() {
|
||||
spdlog::info("vst2 plugin {} destroyed", name);
|
||||
try_close_editor();
|
||||
if (effect_) {
|
||||
dispatch(effClose);
|
||||
}
|
||||
effect_ = nullptr;
|
||||
}
|
||||
|
||||
bool vst2_plugin_host::load_plugin(const char* path) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user