diff --git a/src/thread_utils.rs b/src/thread_utils.rs index 0f84be7..eeb6d8f 100644 --- a/src/thread_utils.rs +++ b/src/thread_utils.rs @@ -94,7 +94,8 @@ impl Dispatcher { match self.command_transmitters.get(self.next_to_feed){ Some(target) => target.send(command), None => panic!("oh god oh fuck"), - }; + } + self.next_to_feed += 1; } }