static void BWLimiterCloseDown(PacketNode *head, PacketNode *tail) { UNREFERENCED_PARAMETER(tail); UNREFERENCED_PARAMETER(head); clearBufPackets(tail); endTimePeriod(); }
void cleanup() { if(timeout) { IupDestroy(timeout); } if(timer) { IupDestroy(timer); } IupClose(); endTimePeriod(); // try close if not closing }
void cleanup() { IupDestroy(timer); IupClose(); endTimePeriod(); // try close if not closing }