Skip to content

Commit

Permalink
Better variable name
Browse files Browse the repository at this point in the history
# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
gshuflin committed Oct 7, 2020
1 parent b7f4ef2 commit b727836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rust/engine/src/externs/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,13 +599,13 @@ py_class!(class PyNailgunClient |py| {
let executor_ptr = self.executor(py);
let python_signal_fn: Value = py_signal_fn.into();

let (exit_sender, exit_receiver) = oneshot::channel();
let (send_task_shutdown_request, recv_task_shutdown_request) = oneshot::channel();
let nailgun_fut = nailgun::client_execute(
port,
command,
args,
env_list,
exit_receiver,
recv_task_shutdown_request,
);

let exit_code: Result<i32, String> = with_executor(py, executor_ptr, |executor| {
Expand Down Expand Up @@ -634,7 +634,7 @@ py_class!(class PyNailgunClient |py| {
}
};
debug!("Sending message to nailgun client task to exit.");
match exit_sender.send(()) {
match send_task_shutdown_request.send(()) {
Ok(()) => (),
Err(e) => {
debug!("Error sending exit message to nailgun client task: {:?}", e);
Expand Down

0 comments on commit b727836

Please sign in to comment.