Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
authorByron Campen [:bwc] <docfaraday@gmail.com>
Tue, 01 Mar 2016 13:59:43 -0600
changeset 322847 a8b211e48faad67323ee6a2cdcae86019b290d64
parent 322846 8d2dbe77299c386a135b04fdbe8abef2d4e28674
child 322848 a463f2cf51e32ec25040a7cff2790f43dbf3344c
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1252585
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno MozReview-Commit-ID: F7Dgk5gN4cs
media/mtransport/test/stunserver.cpp
--- a/media/mtransport/test/stunserver.cpp
+++ b/media/mtransport/test/stunserver.cpp
@@ -516,16 +516,17 @@ nsresult TestStunServer::SetResponseAddr
 void TestStunServer::Reset() {
   delay_ms_ = 0;
   if (timer_handle_) {
     NR_async_timer_cancel(timer_handle_);
     timer_handle_ = nullptr;
   }
   delete response_addr_;
   response_addr_ = nullptr;
+  received_ct_.clear();
 }
 
 
 // TestStunTcpServer
 
 void TestStunTcpServer::ConfigurePort(uint16_t port) {
   instance_port = port;
 }