feat(sandbox): 在有界后台工作线程中登记原生实例
This commit is contained in:
@@ -298,6 +298,10 @@ impl Running<'_> {
|
||||
Ok(())
|
||||
}
|
||||
#[cfg(test)]
|
||||
pub(crate) fn test_job(&self) -> Result<crate::extension_job::Job> {
|
||||
self.process.job.clone_for_deadline()
|
||||
}
|
||||
#[cfg(test)]
|
||||
pub(crate) fn active_test_processes(&self) -> Result<u32> {
|
||||
self.process.job.active_processes()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user