aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/copy_mode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shell/copy_mode.rs')
-rw-r--r--src/client/shell/copy_mode.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/shell/copy_mode.rs b/src/client/shell/copy_mode.rs
index c39a7507..32a17bf4 100644
--- a/src/client/shell/copy_mode.rs
+++ b/src/client/shell/copy_mode.rs
@@ -797,7 +797,9 @@ impl ClientShellState {
}
};
self.copy_operation_in_flight = true;
- self.push_endpoint_method_with_kind(method, kind, outcome);
+ if !self.push_endpoint_method_with_kind(method, kind, outcome) {
+ self.copy_operation_in_flight = false;
+ }
return;
}
}