mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Wi-Fi Direct Service Implementation(9.4)
PiperOrigin-RevId: 859268261
This commit is contained in:
@@ -425,7 +425,6 @@ bool WifiDirectMedium::StopWifiDirect() {
|
||||
server_socket_ptr_ = nullptr;
|
||||
ip_address_local_.clear();
|
||||
ip_address_remote_.clear();
|
||||
listener_executor_.Shutdown();
|
||||
return true;
|
||||
} catch (std::exception exception) {
|
||||
LOG(ERROR) << __func__ << ": Stop WifiDirect GO failed. Exception: "
|
||||
@@ -785,7 +784,7 @@ bool WifiDirectMedium::DisconnectWifiDirect() {
|
||||
session_ = nullptr;
|
||||
ip_address_local_.clear();
|
||||
ip_address_remote_.clear();
|
||||
return true;
|
||||
return true;
|
||||
} catch (std::exception exception) {
|
||||
LOG(ERROR) << __func__ << ": Stop WifiDirect GC failed. Exception: "
|
||||
<< exception.what();
|
||||
|
||||
Reference in New Issue
Block a user