Drop references held by any GUI Lua script after execution

This commit is contained in:
Robin Gareus 2020-01-13 20:24:04 +01:00
parent fa2c935581
commit 8112d6472e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 2 additions and 1 deletions

View file

@ -329,6 +329,7 @@ LuaWindow::run_script ()
append_text (string_compose (_("C++ Exception: %1"), "..."));
}
}
lua->collect_garbage ();
}
void