mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
The shutdown flag should be set to true when all virtual sockets are disconnected.
PiperOrigin-RevId: 658149636
This commit is contained in:
@@ -669,7 +669,7 @@ void MultiplexSocket::OnVirtualSocketClosed(const std::string& service_id) {
|
||||
NEARBY_LOGS(INFO) << "Close the physical socket because all virtual "
|
||||
"sockets disconnected.";
|
||||
Shutdown();
|
||||
// shutdown = true;
|
||||
shutdown = true;
|
||||
}
|
||||
} else {
|
||||
NEARBY_LOGS(INFO) << "Virtual socket(" << service_id
|
||||
|
||||
Reference in New Issue
Block a user