|
|
@ -148,9 +148,8 @@ fn main() -> anyhow::Result<()> { |
|
|
|
let mut thread = RunThread::new(ThreadToken(0), None, parsed.clone(), Addr(0), args); |
|
|
|
let mut thread = RunThread::new(ThreadToken(0), None, parsed.clone(), Addr(0), args); |
|
|
|
thread.set_speed(config.cycle_time); |
|
|
|
thread.set_speed(config.cycle_time); |
|
|
|
|
|
|
|
|
|
|
|
let a = thread.start(); |
|
|
|
// run without spawning, so it is on the main thread - required by some extensions
|
|
|
|
// ...
|
|
|
|
thread.run(); |
|
|
|
let _ = a.join(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
info!("Runtime shut down."); |
|
|
|
info!("Runtime shut down."); |
|
|
|
|
|
|
|
|
|
|
|