Index: dbus/bus.cc |
diff --git a/dbus/bus.cc b/dbus/bus.cc |
index 6bd404c96622bc67c0ddbd0254f33cfa86694fa2..1c258d20b19b8949c58178f77253962b3ff74c27 100644 |
--- a/dbus/bus.cc |
+++ b/dbus/bus.cc |
@@ -875,11 +875,6 @@ void Bus::OnConnectionDisconnected(DBusConnection* connection) { |
return; |
DCHECK(!dbus_connection_get_is_connected(connection)); |
- if (shutdown_completed_) |
- return; // Do nothing if the shutdown is already completed. |
- |
- // Unexpected disconnection, maybe the peer closes the connection. |
- DCHECK_EQ(connection, connection_); |
ShutdownAndBlock(); |
} |