5689: Remove clone r=kjeremy a=Veetaha



Co-authored-by: Veetaha <veetaha2@gmail.com>
This commit is contained in:
bors[bot] 2020-08-08 16:18:01 +00:00 committed by GitHub
commit eed05a95b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
SetThreadPriority(thread, thread_priority_above_normal); SetThreadPriority(thread, thread_priority_above_normal);
} }
GlobalState::new(connection.sender.clone(), config).run(connection.receiver) GlobalState::new(connection.sender, config).run(connection.receiver)
} }
enum Event { enum Event {