Skip to content

Commit

Permalink
Fix decoupled shared memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed Jan 17, 2024
1 parent de3f051 commit da3dde1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python_be.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,7 @@ ModelInstanceState::ProcessRequestsDecoupled(

AllocatedSharedMemory<ResponseBatch> response_batch =
Stub()->ShmPool()->Load<ResponseBatch>(received_message_->Args());
received_message_.reset();

uint64_t compute_end_ns = 0;
SET_TIMESTAMP(compute_end_ns);
Expand Down

0 comments on commit da3dde1

Please sign in to comment.