From 1d35ca1230e7763e02f83fee4d8a548b7e21340a Mon Sep 17 00:00:00 2001 From: Javantea Date: Thu, 24 Oct 2024 13:31:21 -0700 Subject: [PATCH] Fix abort on delete plugin from track FX. --- src/plugin-template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin-template.c b/src/plugin-template.c index 8436815c..00f1ca3e 100644 --- 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)