exit(0);
}
+ # Grab any state data for later
+ $self->{state} = $self->{ils}->state() if (UNIVERSAL::can($self->{ils},'state'));
+
# Evergreen, at least, needs a chance to clean up before forking for other requests
$self->{ils}->disconnect() if (UNIVERSAL::can($self->{ils},'disconnect'));
if ($pid == 0) { # in kid
# build the connection we deleted after logging in
- $self->{ils} = $active_connections{$conn_id}->{ils}->new($self->{institution}, $self->{account}, $active_connections{$conn_id}->{state});
+ $self->{ils} = $active_connections{$conn_id}->{ils}->new($self->{institution}, $self->{account}, $self->{state});
if (!$self->{ils}) {
syslog('LOG_ERR', "Unable to build ILS module in mux child");