luaur_code_gen/methods/shared_code_gen_context_on_close_state.rs
1use crate::records::shared_code_gen_context::SharedCodeGenContext;
2
3impl SharedCodeGenContext {
4 pub fn on_close_state(&mut self) {
5 // The lifetime of the SharedCodeGenContext is managed separately from the
6 // VMs that use it. When a VM is destroyed, we don't need to do anything
7 // here.
8 }
9}
10
11#[allow(non_snake_case)]
12pub fn shared_code_gen_context_on_close_state(this: &mut SharedCodeGenContext) {
13 this.on_close_state();
14}