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()
|
.build()
|
||||||
.launch()?;
|
.launch()?;
|
||||||
|
|
||||||
(self.run_client.take().unwrap())(state, mgr, bind_to.id)
|
return (self.run_client.take().unwrap())(state, mgr, bind_to.id);
|
||||||
.expect("Client closure failed");
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -250,10 +248,7 @@ where
|
|||||||
.build()
|
.build()
|
||||||
.launch()?;
|
.launch()?;
|
||||||
|
|
||||||
(self.run_client.take().unwrap())(state, mgr, core_id)
|
return (self.run_client.take().unwrap())(state, mgr, core_id);
|
||||||
.expect("Client closure failed");
|
|
||||||
|
|
||||||
unreachable!("Fuzzer client code should never get here!");
|
|
||||||
}
|
}
|
||||||
Err(std::env::VarError::NotPresent) => {
|
Err(std::env::VarError::NotPresent) => {
|
||||||
// I am a broker
|
// I am a broker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user