mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Rename test module, kinda get connection working.
This commit is contained in:
@@ -38,17 +38,14 @@ impl Manager {
|
||||
|
||||
let runtime = init(this.clone());
|
||||
|
||||
info!("Initialized {}", i);
|
||||
|
||||
runtimes.push(runtime);
|
||||
}
|
||||
|
||||
Self::join(&mut runtimes);
|
||||
}
|
||||
|
||||
// /// Helper function to retrieve ManagerInterface type, for interfacing with ModuleManager accross FFI boundry.
|
||||
// pub fn get_interface(&self) -> ManagerInterface {
|
||||
// ManagerInterface::from_raw(Self::get_manager)
|
||||
// }
|
||||
|
||||
/// Iterateratively loop through all runtimes, until all are finished executing
|
||||
pub fn join(runtimes: &mut Vec<Box<dyn ModuleRuntime>>) {
|
||||
// let mut len = runtimes.len().clone();
|
||||
|
||||
Reference in New Issue
Block a user