优化;删除预编译字节码

This commit is contained in:
xx
2024-06-01 14:08:44 +08:00
parent 2df927b62e
commit 417f6a4d82
29 changed files with 608 additions and 621 deletions

View File

@@ -43,3 +43,18 @@ void global::set(const std::string& name, VarType value)
{
m_values.set(name, value, true);
}
void global::clear()
{
m_values.clear();
m_value_ptr.clear();
//m_value_ptr.lock();
//for_iter(iter, (*m_value_ptr.parent()))
//{
// auto im = static_cast<module::imodule*>(iter->second);
// im->delete_global();
//}
//m_value_ptr.unlock();
//m_value_ptr.clear();
}