Skip to content

Commit

Permalink
Updated compiler on build server
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Neuwirt committed Jul 30, 2019
1 parent b3d1c01 commit e6ca6c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Miruken/Concurrency/Promise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void DisposeTimer()
resolve(null, false);
},
null, (int)delay.TotalMilliseconds, System.Threading.Timeout.Infinite)
).Finally(() => DisposeTimer()); // cancel;
).Finally(DisposeTimer); // cancel;
}

public static Promise Try(Action action)
Expand Down Expand Up @@ -1002,7 +1002,7 @@ void DisposeTimer()
}, (ex, s) => {
DisposeTimer();
reject(ex, s);
}).Finally(() => DisposeTimer()); // cancel
}).Finally(DisposeTimer); // cancel
if (State != PromiseState.Pending) return;
timer = new Timer(_ => {
DisposeTimer();
Expand Down

0 comments on commit e6ca6c4

Please sign in to comment.