Skip to content

Commit

Permalink
cancelAndDelete the slotSelfMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
eltayebmusab authored Jul 25, 2024
1 parent 068281f commit 4575af8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scheduler/TdmaScheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ AbstractLdacsTdmaScheduler::AbstractLdacsTdmaScheduler() {
AbstractLdacsTdmaScheduler::~AbstractLdacsTdmaScheduler() {
cancelAndDelete(schedulingSHSelfMessage);
cancelAndDelete(schedulingP2PSelfMessage);
cancelAndDelete(slotSelfMessage);

}

void AbstractLdacsTdmaScheduler::initialize(int stage) {
Expand Down Expand Up @@ -683,4 +685,4 @@ int AbstractLdacsTdmaScheduler::countAssignmentsForSlot(const std::unordered_map
}
}
return count;
}
}

0 comments on commit 4575af8

Please sign in to comment.