We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3da1c6 commit 7fb22f6Copy full SHA for 7fb22f6
godot.nimble
@@ -1,7 +1,7 @@
1
-version = "0.8.2"
+version = "0.8.3"
2
author = "Xored Software, Inc."
3
description = "Godot Engine bindings"
4
license = "MIT"
5
srcDir = "godot"
6
7
-requires "nim >= 0.17.3", "compiler >= 0.17.3"
+requires "nim >= 0.17.3", "compiler >= 0.17.3"
godot/nim/godotnim.nim
@@ -196,6 +196,8 @@ proc nimGodotObjectFinalizer*[T: NimGodotObject](obj: T) =
196
obj.isFinalized = true
197
if (obj.isRef or not obj.linkedObject.isNil and obj.linkedObject.isRef) and
198
obj.godotObject.unreference():
199
+ if not obj.linkedObject.isNil:
200
+ GC_unref(obj.linkedObject)
201
obj.deinit()
202
203
macro baseNativeType(T: typedesc): cstring =
0 commit comments