-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: gracefully handle errors for multiple failing requests (#2346)
Fixes a problem where if multiple simultaneous requests were sent to a Snap that resulted in an error, termination would be attempted multiple times causing unintentional errors to be surfaced to the caller. This is fixed by making sure `stopSnap` is only called once even if we have multiple pending requests for the Snap.
- Loading branch information
1 parent
3c11ec4
commit b3f38a7
Showing
3 changed files
with
90 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"branches": 91.47, | ||
"branches": 91.49, | ||
"functions": 96.61, | ||
"lines": 97.86, | ||
"lines": 97.87, | ||
"statements": 97.53 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters