Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e12e2c2a authored by Myles Watson's avatar Myles Watson
Browse files

Reset the test environment on close

Bug: 154020729
Test: cert/run --host
Change-Id: I4a5899a8457b5d835a7123725aa70baf3f5d4ff5
parent e1921f9f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ void TestEnvironment::initialize(std::promise<void> barrier) {

void TestEnvironment::close() {
  LOG_INFO("%s", __func__);
  test_model_.Reset();
}

void TestEnvironment::SetUpHciServer(const std::function<void(int)>& connection_callback) {