Support disconnection for forking purposes
authorMike Rylander <mrylander@gmail.com>
Wed, 11 Sep 2013 20:02:24 +0000 (16:02 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 10 Oct 2013 16:50:11 +0000 (12:50 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm

index 46c902a..46e9290 100644 (file)
@@ -42,6 +42,10 @@ use constant {
     SIP_DATETIME => "%Y%m%d    %H%M%S",
 };
 
+sub disconnect {
+     OpenSRF::Transport::PeerHandle->retrieve->disconnect
+}
+
 sub new {
     my ($class, $institution, $login) = @_;
     my $type = ref($class) || $class;