diff --git a/actix-rt/src/builder.rs b/actix-rt/src/builder.rs index 73bfaa36..49e8c1f5 100644 --- a/actix-rt/src/builder.rs +++ b/actix-rt/src/builder.rs @@ -86,8 +86,7 @@ impl Builder { let (stop_tx, stop) = channel(); let (sys_sender, sys_receiver) = unbounded(); - let arbiter = Arbiter::new_system(); - let system = System::construct(sys_sender, arbiter.clone(), self.stop_on_panic); + let system = System::construct(sys_sender, Arbiter::new_system(), self.stop_on_panic); // system arbiter let arb = SystemArbiter::new(stop_tx, sys_receiver);