From 3e2d0708e25e70e5f40a49670d0fe116b5c15893 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Thu, 27 Jul 2017 12:18:00 +0700 Subject: [PATCH] Don't run finalizers during terminate --- godot/nim/godotnim.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godot/nim/godotnim.nim b/godot/nim/godotnim.nim index 12dc76b..974b03f 100644 --- a/godot/nim/godotnim.nim +++ b/godot/nim/godotnim.nim @@ -563,7 +563,7 @@ proc godot_gdnative_init(options: ptr GodotNativeInitOptions) {. proc godot_gdnative_terminate(options: ptr GodotNativeTerminateOptions) {. cdecl, exportc, dynlib.} = - deallocHeap(runFinalizers = true, allowGcAfterwards = false) + deallocHeap(runFinalizers = false, allowGcAfterwards = false) proc godot_nativescript_thread_enter() {. cdecl, exportc, dynlib.} =