Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

[LocalCommandRunner] run: block a double call of the callback #132

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

das7pad
Copy link
Member

@das7pad das7pad commented Oct 8, 2019

Description

Given that you are still supporting the local runner (#131), this might be of interest too.

The subprocess event handler fires the "error" and "close" event in case
of a failure.
Both events would call the given callback, resulting in double
processing of the subprocess result downstream.

Screenshots

Related Issues / PRs

Review

Potential Impact

Manual Testing Performed

  • [ ]
  • [ ]

Accessibility

Deployment

Deployment Checklist

  • Update documentation not included in the PR (if any)
  • [ ]

Metrics and Monitoring

Who Needs to Know?

The subprocess event handler fires the "error" and "close" event in case
 of a failure.
Both events would call the given callback, resulting in double
 processing of the subprocess result downstream.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
@das7pad das7pad changed the base branch from master to jpa-import-132 July 3, 2020 10:58
@das7pad das7pad merged commit e0176bb into overleaf:jpa-import-132 Jul 3, 2020
@das7pad das7pad deleted the hotfix-double-call branch July 3, 2020 10:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants