mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
Close more descriptors that can be open if the worker process for the given
resource is already running. Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 1 week
This commit is contained in:
parent
180b0814db
commit
5aa85abd1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218370
|
@ -109,6 +109,12 @@ descriptors_cleanup(struct hast_resource *res)
|
|||
proto_close(tres->hr_remotein);
|
||||
if (tres->hr_remoteout != NULL)
|
||||
proto_close(tres->hr_remoteout);
|
||||
if (tres->hr_ctrl != NULL)
|
||||
proto_close(tres->hr_ctrl);
|
||||
if (tres->hr_event != NULL)
|
||||
proto_close(tres->hr_event);
|
||||
if (tres->hr_conn != NULL)
|
||||
proto_close(tres->hr_conn);
|
||||
}
|
||||
if (cfg->hc_controlin != NULL)
|
||||
proto_close(cfg->hc_controlin);
|
||||
|
|
Loading…
Reference in a new issue