diff --git a/cpp/core/internal/bwu_manager.cc b/cpp/core/internal/bwu_manager.cc index 51ef1948..364c7e2b 100644 --- a/cpp/core/internal/bwu_manager.cc +++ b/cpp/core/internal/bwu_manager.cc @@ -275,9 +275,9 @@ void BwuManager::Revert() { NEARBY_LOG(INFO, "Revert reseting medium %d", medium_); if (handler_) { handler_->Revert(); - medium_ = Medium::UNKNOWN_MEDIUM; handler_ = nullptr; } + medium_ = Medium::UNKNOWN_MEDIUM; } void BwuManager::OnBwuNegotiationFrame(ClientProxy* client,