You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Implement lambdas compilation and runtime
This commit is contained in:
@@ -150,6 +150,10 @@ GDScriptFunction::GDScriptFunction() {
|
||||
}
|
||||
|
||||
GDScriptFunction::~GDScriptFunction() {
|
||||
for (int i = 0; i < lambdas.size(); i++) {
|
||||
memdelete(lambdas[i]);
|
||||
}
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
MutexLock lock(GDScriptLanguage::get_singleton()->lock);
|
||||
|
||||
Reference in New Issue
Block a user