Skip to content

Commit

Permalink
Removed test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Neuwirt committed May 21, 2019
1 parent 56224cf commit afa3d2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Source/Miruken/Callback/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private bool Include(object response)
return true;
}

public bool Dispatch( object handler, ref bool greedy, IHandler composer)
public bool Dispatch(object handler, ref bool greedy, IHandler composer)
{
var count = _results.Count;
return Policy.Dispatch(handler, this, greedy, composer, Respond)
Expand Down
5 changes: 0 additions & 5 deletions Source/Miruken/Concurrency/Promise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1128,11 +1128,6 @@ void DisposeTimer()

protected void Resolve(T result, bool synchronous)
{
if (result is Promise)
{
var z = 0;
}

Complete(result, synchronous, () =>
{
lock (_guard)
Expand Down

0 comments on commit afa3d2c

Please sign in to comment.