-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`start_proxy` starts a process that proxifies the node in the background, and immediatelly returns control to the main process. If the main process then kills the node, it sets `local_stopped` to 1. If `start_proxy` hasn't gotten to `check_finish` yet, `check_finish` will observe `local_stopped` set to 1, and stop the server. `start_proxy` will then proceed to calling `server.serve_forever`, which will crash. I'm fixing it by making `start_proxy` actually wait until it gets to `serve_forever` before returning control
- Loading branch information
1 parent
7b5f592
commit a23893a
Showing
1 changed file
with
14 additions
and
5 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