fix the dumb

master
MunirG05 2023-07-11 13:32:40 +05:30
parent e3f6295997
commit 88e324a8a9
1 changed files with 2 additions and 3 deletions

View File

@ -18,9 +18,7 @@ impl Scheduler<'_> {
pub fn new() -> Self {
Self {
data: VecDeque::new(),
tick_callback: None,
last_timer_count: 0,
tick_limit: 64,
}
}
pub fn new_process(&mut self, program: Vec<u8>) {
@ -48,5 +46,6 @@ impl Scheduler<'_> {
let mut prog = self.data.pop_front().unwrap();
prog.run().unwrap();
self.data.push_back(prog);
}
}
}