Fix launcher to work with returning run_client functions (#860)
This commit is contained in:
parent
1eb738695f
commit
332c2bc3f8
@ -180,9 +180,7 @@ where
|
||||
.build()
|
||||
.launch()?;
|
||||
|
||||
(self.run_client.take().unwrap())(state, mgr, bind_to.id)
|
||||
.expect("Client closure failed");
|
||||
break;
|
||||
return (self.run_client.take().unwrap())(state, mgr, bind_to.id);
|
||||
}
|
||||
};
|
||||
}
|
||||
@ -250,10 +248,7 @@ where
|
||||
.build()
|
||||
.launch()?;
|
||||
|
||||
(self.run_client.take().unwrap())(state, mgr, core_id)
|
||||
.expect("Client closure failed");
|
||||
|
||||
unreachable!("Fuzzer client code should never get here!");
|
||||
return (self.run_client.take().unwrap())(state, mgr, core_id);
|
||||
}
|
||||
Err(std::env::VarError::NotPresent) => {
|
||||
// I am a broker
|
||||
|
Loading…
x
Reference in New Issue
Block a user