mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Merge branch 'master' into release
Change-Id: Iaeb2144000bba05bf9532a55518b9549d7662361
This commit is contained in:
@@ -50,7 +50,13 @@ class SimulationUser {
|
||||
|
||||
explicit SimulationUser(const std::string& device_name)
|
||||
: name_(device_name) {}
|
||||
virtual ~SimulationUser() = default;
|
||||
virtual ~SimulationUser() {
|
||||
Stop();
|
||||
}
|
||||
void Stop() {
|
||||
pm_.DisconnectFromEndpointManager();
|
||||
mgr_.DisconnectFromEndpointManager();
|
||||
}
|
||||
|
||||
// Calls PcpManager::StartAdvertising.
|
||||
// If latch is provided, will call latch->CountDown() in the initiated_cb
|
||||
|
||||
Reference in New Issue
Block a user