Skip to content

Commit

Permalink
#1443 fix for cluster shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpantyukhin committed Nov 24, 2015
1 parent 3d1f1ba commit 941688a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/Akka.Cluster/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,11 @@ public void Shutdown()
{
LogInfo("Shutting down...");
System.Stop(_clusterDaemons);
_readView.Dispose();

if (_readView != null)
{
_readView.Dispose();
}

LogInfo("Successfully shut down");
}
Expand Down

0 comments on commit 941688a

Please sign in to comment.