9105: Followup for closing Zoom connections
Housekeeping: close the results sets and connections from Z3950 searches. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> No regression found, all tests and QA script pass. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
3f73f9228b
commit
d85fa9c5fb
|
|
@ -412,6 +412,12 @@ sub Z3950Search {
|
|||
);
|
||||
} # while nremaining
|
||||
|
||||
#close result sets and connections
|
||||
foreach(0..$s-1) {
|
||||
$oResult[$_]->destroy();
|
||||
$oConnection[$_]->destroy();
|
||||
}
|
||||
|
||||
my @servers = ();
|
||||
foreach my $id (@id) {
|
||||
push @servers, {id => $id};
|
||||
|
|
|
|||
Loading…
Reference in New Issue