Skip to content

Commit

Permalink
clear message buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
lroberts36 committed Oct 31, 2024
1 parent f5f7bba commit 7c320cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bvals/comms/combined_buffers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ struct CombinedBuffers {
}

void clear() {
// TODO(LFR): Need to be careful here that the asynchronous send buffers are finished
// TODO(LFR): Need to be more careful here that the asynchronous send buffers are finished
combined_send_buffers.clear();
combined_recv_buffers.clear();
processing_messages.clear();
}

void AddSendBuffer(int partition, MeshBlock *pmb, const NeighborBlock &nb,
Expand Down

0 comments on commit 7c320cb

Please sign in to comment.