Skip to content

Commit

Permalink
Merge pull request #13 from FRACerqueira/v1.0.3
Browse files Browse the repository at this point in the history
CodeQL
  • Loading branch information
FRACerqueira authored Nov 10, 2023
2 parents 922ccee + 459f990 commit 16d949c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Src/Control/internal/PipeAndFilterControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,20 +298,14 @@ private async Task ExecutePipesAfter()
//execute after handler
if (!IsEnd)
{
string? aliasprev = null;
if (!string.IsNullOrEmpty(_prevPipe))
{
aliasprev = _parameters.IdToAlias[_prevPipe];
};
string? aliascur = _parameters.IdToAlias[_currentPipe!];
var evt = new EventPipe<T>(
_cid,
_logger,
ChangeContract!,
_savedvalues.ToImmutableDictionary(),
_currentPipe!,
_parameters.Pipes[_currentPipeIndex].HandlerAfter!.Id,
aliascur,
_parameters.IdToAlias[_currentPipe!],
_parameters.IdToAlias[_parameters.Pipes[_currentPipeIndex].HandlerAfter!.Id]);
await _parameters.Pipes[_currentPipeIndex].HandlerAfter!.Handler(evt, _pipects!.Token);
sta = HandlerStatus.Completed;
Expand Down

0 comments on commit 16d949c

Please sign in to comment.