Simplify
This commit is contained in:
@@ -44,8 +44,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
|
||||
SetThreadPriority(thread, thread_priority_above_normal);
|
||||
}
|
||||
|
||||
GlobalState::new(connection.sender.clone(), config.lru_capacity, config)
|
||||
.run(connection.receiver)
|
||||
GlobalState::new(connection.sender.clone(), config).run(connection.receiver)
|
||||
}
|
||||
|
||||
enum Event {
|
||||
|
||||
Reference in New Issue
Block a user