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

Spawned process is not killed properly on exit #228

Closed
alexander-myltsev opened this issue Mar 13, 2015 · 1 comment
Closed

Spawned process is not killed properly on exit #228

alexander-myltsev opened this issue Mar 13, 2015 · 1 comment

Comments

@alexander-myltsev
Copy link

I installed redis from https://chocolatey.org/packages/redis-64

When redis-server is started, it spawns redis-server process and redis-server child process. When parent process is killed, child process does not. And it continues to listen a port.

It should be a bug, shouldn't it?

orangemocha added a commit that referenced this issue Mar 23, 2015
The quasi-fork child was waiting for an explicit signal from the parent
before terminating. This synchronization step is unnecessary, and
it makes the child hang if the parent terminates for any reason
while the fork operation is in progress.
In that scenario, and consistently with the Posix version, the child
now completes the fork operation and terminates freely when done.

This fixes #228
@alexander-myltsev
Copy link
Author

👍 would check it soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant