-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly close inherited servers on fork
I noticed some UNIXServer and AppServer accumulating with reforking enabled. The reason is that the `at_exit { stop }` make `Server` instances immortal, so they are never GC, and their open socket accumulate and are never closed. That callback is useless anyway, as on exit the finalizer of these objects will be invoked, and they'll cleanup after themselves.
- Loading branch information
Showing
2 changed files
with
69 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
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