helgeholm/disposable-redis

If server is already running, close fails

Opened this issue · 0 comments

The code tries to spawn a server but doesn't check if it succeeded, only if there's a server running. If there was already a server running, the spawn call will fail, so the localRedis var will be a zombie. It's already dead, so it can't fire an exit event when you try to SIGKILL it.