-
Keep an extra stats structure for scheduling the BYE packets. When we decide to schedule BYE, make a copy of the current stats into the bye_stats. Then while we schedule the BYE, update and use only the bye_stats. When we finished scheduling the BYE packet, we use the regular stats again.
c78a1151