@@ -81,13 +81,12 @@ struct PacketWriter : SaveFilter {
std::unique_lock<std::mutex> lock(this->mutex);
if (this->cs != nullptr) this->exit_sig.wait(lock);
/* This must all wait until the Destroy function is called. */
Debug(net, 0, "Destruct!");
this->packets.clear();
this->current = nullptr;
}
/**
* Begin the destruction of this packet writer. It can happen in two ways:
Status change: