fix(scripting): solve one mem leak

This commit is contained in:
Diavolo 2022-12-16 12:05:19 +01:00
parent ba613bc142
commit f0e15e0e59
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -104,6 +104,7 @@ namespace scripting
{ {
script_function_table_sort.clear(); script_function_table_sort.clear();
script_function_table.clear(); script_function_table.clear();
script_function_table_rev.clear();
} }
for (const auto& callback : shutdown_callbacks) for (const auto& callback : shutdown_callbacks)