stopStaleCallsChecker method

void stopStaleCallsChecker(
  1. String roomId
)

stops the stale call checker timer

Implementation

void stopStaleCallsChecker(String roomId) {
  if (staleGroupCallsTimer.tryGet(roomId) != null) {
    staleGroupCallsTimer[roomId]!.cancel();
    staleGroupCallsTimer.remove(roomId);
    Logs().d('[VOIP] stopped stale group calls checker for room $id');
  } else {
    Logs().d('[VOIP] no stale call checker for room found');
  }
}