Skip to content

Commit

Permalink
Bug fix: Process.exists() exception
Browse files Browse the repository at this point in the history
  • Loading branch information
louthy committed Jan 26, 2017
1 parent 963751e commit a3bd54e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions LanguageExt.Process/ActorSys/ActorDispatchGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ public ActorDispatchGroup(IEnumerable<ProcessId> group)
{
this.group = group.ToArray();
this.count = this.group.Length;
if( this.group.Length == 0 )
{
throw new ArgumentException("No processes in group - usually this means there are offline services.");
}
}

private IEnumerable<IActorDispatch> GetWorkers() =>
Expand Down
2 changes: 1 addition & 1 deletion LanguageExt.Process/ActorSys/ActorDispatchJS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ public Unit DispatchUnWatch(ProcessId pid)
false;

public bool Exists =>
Prelude.raise<bool>(new NotSupportedException());
true;
}
}

0 comments on commit a3bd54e

Please sign in to comment.