# Sandbox.NetworkingSettings.DestroyLobbyWhenHostLeaves

```csharp
bool DestroyLobbyWhenHostLeaves { get; set; }
```

Whether to disband the game lobby when the host leaves.

Declared in [Sandbox.NetworkingSettings](/api/Sandbox.NetworkingSettings).
Assembly: `Sandbox.Engine`.
