diff --git a/src/core/Akka.Cluster/Cluster.cs b/src/core/Akka.Cluster/Cluster.cs index 5b9ce69bb32..6e4d6e1fe98 100644 --- a/src/core/Akka.Cluster/Cluster.cs +++ b/src/core/Akka.Cluster/Cluster.cs @@ -278,7 +278,11 @@ public void Shutdown() { LogInfo("Shutting down..."); System.Stop(_clusterDaemons); - _readView.Dispose(); + + if (_readView != null) + { + _readView.Dispose(); + } LogInfo("Successfully shut down"); }