commit 0571fab4ab80ac65dc26ff60671ed3c8891f669e
parent e898b782b98ff2c476c91e3fae97178dbf26bfd4
Author: Javantea <jvoss@altsci.com>
Date: Thu, 24 Oct 2024 13:30:54 -0700
Fix abort on delete plugin from track FX.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugin-template.c b/src/plugin-template.c
@@ -419,7 +419,7 @@ static void entry_deinit_guard(void) {
#endif
const int cnt = --g_entry_init_counter;
- assert(cnt > 0);
+ assert(cnt >= 0);
bool succeed = true;
if (cnt == 0)