Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Dec 20, 2023
1 parent f13c2be commit eba236f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/wrench/simgrid_S4U_util/S4U_CommPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,16 +411,15 @@ namespace wrench {
return;
}
WRENCH_INFO("Retiring commport %s", commport->name.c_str());
if (commport->mb_comm_posted) {
commport->mb_comm->cancel();
}
// if (commport->mb_comm_posted) {
// commport->mb_comm->cancel();
// }
commport->mb_comm_posted = false;
commport->mb_comm = nullptr;

if (commport->mq_comm_posted) {
commport->mq_comm->cancel();
commport->mq_comm = nullptr;
}
// if (commport->mq_comm_posted) {
// commport->mq_comm->cancel();
// }
commport->mq_comm_posted = false;
commport->mq_comm = nullptr;

Expand Down

0 comments on commit eba236f

Please sign in to comment.