Skip to content

Commit

Permalink
Use interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 23, 2024
1 parent d693c5c commit 45bc671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/testing/process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class Process::Impl {
// processes by graceful shutdown.
boost::system::error_code error_code;
if (process_ && process_->running(error_code)) {
process_->request_exit(error_code);
process_->interrupt(error_code);
if (!error_code) {
auto timeout = std::chrono::seconds(3);
std::chrono::time_point<std::chrono::steady_clock> end =
Expand Down

0 comments on commit 45bc671

Please sign in to comment.