Skip to content

Commit 89c55f6

Browse files
committed
Fix GDScript stack leak.
1 parent e37c626 commit 89c55f6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/gdscript/gdscript_function.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
239239

240240
GDScriptLanguage::get_singleton()->exit_function();
241241

242-
#ifdef DEBUG_ENABLED
243242
_clear_stack();
244-
#endif
245243
}
246244

247245
return ret;

0 commit comments

Comments
 (0)