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