Update src/server/lua_engine.rs
This commit is contained in:
parent
12364a7edd
commit
e2ab9cfe8c
@ -36,7 +36,7 @@ use crate::server::database::{Trigger, TriggerEvent, Index, IndexType};
|
|||||||
/// с интеграцией в систему Futriix
|
/// с интеграцией в систему Futriix
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct LuaEngine {
|
pub struct LuaEngine {
|
||||||
lua: Arc<Lua>,
|
lua: Arc<Lua>, // Потокобезопасный Lua контекст
|
||||||
}
|
}
|
||||||
|
|
||||||
impl LuaEngine {
|
impl LuaEngine {
|
||||||
@ -711,4 +711,4 @@ impl LuaEngine {
|
|||||||
crate::server::log_to_file("Lua cache cleared (engine would be recreated if needed)");
|
crate::server::log_to_file("Lua cache cleared (engine would be recreated if needed)");
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user