fix: trigger full GC collection when unloading plugin lib
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
3714d38241
commit
f4d51d184b
@ -102,6 +102,7 @@ let pluginDescriptor = Lv2Descriptor(
|
||||
|
||||
proc cleanupLib(handle: Lv2LibHandle) {.cdecl.} =
|
||||
echo "Cleaning up nymph amp library globals."
|
||||
GC_FullCollect()
|
||||
NimDestroyGlobals()
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user