feat(sandbox): 在有界后台工作线程中登记原生实例

This commit is contained in:
2026-09-09 01:30:57 +08:00
parent 96778c02f3
commit 8936974059
6 changed files with 844 additions and 0 deletions
+3
View File
@@ -420,6 +420,9 @@ impl<'a, 'p> Session<'a, 'p> {
}
}
}
pub(crate) fn is_failed(&self) -> bool {
self.failed
}
pub fn take_tools_changed(&mut self) -> bool {
std::mem::take(&mut self.tools_changed)
}