-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Valve:
getMode
fails after the stage is stopped (#191)
Once the valve stage has been stopped, the future returned by `getMode` used to never complete (an async callback is invoked with a `Promise`, but the callback action is never process once the stage is completed). By using `invokeWithFeedback` instead of `invoke`, we can be sure that that future returned by `getMode` will either fail if the valve is already stopped or else will be processed by the valve. Fixes #119
- Loading branch information
1 parent
72c6f1c
commit 0c48f32
Showing
2 changed files
with
24 additions
and
4 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
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