commit | 2cc5bae0b897a377d9f6e2740a091008fbbe42e3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 15 08:18:11 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 15 11:49:52 2017 +0200 |
tree | 9f16f4b88f9085a7fb99c85aac8b1d17f5303460 | |
parent | 0de59fd53a117a2878141522acd03e3338320218 [diff] |
MINOR: listeners: make listeners count consistent with reality Some places call delete_listener() then decrement the number of listeners and jobs. At least one other place calls delete_listener() without doing so, but since it's in deinit(), it's harmless and cannot risk to cause zombie processes to survive. Given that the number of listeners and jobs is incremented when creating the listeners, it's much more logical to symmetrically decrement them when deleting such listeners.