pluginclient cr=apply in option value textbox, add loop_mode for vwdw
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / pluginarray.C
index a04e9858a5cf5ebfcb657dbd92c52a7e1cc0a279..7d971a691c361771b36a3aa9fe68c1d4f956a77a 100644 (file)
@@ -266,8 +266,10 @@ int PluginArray::stop_plugins()
                        values[i]->close_plugin();
                }
        }
-
-       delete cache;
+       if( cache ) {
+               cache->remove_user();
+               cache = 0;
+       }
        return 0;
 }