GDScript: Implement lambdas compilation and runtime
This commit is contained in:
16 files changed
+364
-39
No files matched your search
@@ -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