WhitespacePingLayer::~WhitespacePingLayer() { SWIFT_LOG_ASSERT(!isActive, debug) << "WhitespacePingLayer still active at destruction." << std::endl; if (isActive) { timer->stop(); } timer->onTick.disconnect(boost::bind(&WhitespacePingLayer::handleTimerTick, this)); }
LocalJingleTransportCandidateGenerator::~LocalJingleTransportCandidateGenerator() { SWIFT_LOG_ASSERT(!s5bServerInitializeRequest, warning) << std::endl; }