Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion executor/executor_runner.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,9 @@ class Proc

debug("proc %d: start executing request %llu\n", id_, static_cast<uint64>(msg_->id));

// Executor expects the output_data memory to be already zeroed.
resp_mem_->Reset();

rpc::ExecutingMessageRawT exec;
exec.id = msg_->id;
exec.proc_id = id_;
Expand Down Expand Up @@ -447,7 +450,6 @@ class Proc
auto data = finish_output(resp_mem_, id_, msg_->id, num_calls, elapsed, freshness_++, status, hanged, output);
conn_.Send(data.data(), data.size());

resp_mem_->Reset();
msg_.reset();
output_.clear();
debug_output_pos_ = 0;
Expand Down
Loading