projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28a3e2
)
Explicitly destroy() connections when they're closed, thereby freeing
author
Mike Taylor
<mike@indexdata.com>
Fri, 9 Mar 2007 08:56:37 +0000
(08:56 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 9 Mar 2007 08:56:37 +0000
(08:56 +0000)
resources used by the underlying ZOOM-C object.
lib/ZOOM/IRSpy.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy.pm
b/lib/ZOOM/IRSpy.pm
index
870f4dc
..
0df24d7
100644
(file)
--- a/
lib/ZOOM/IRSpy.pm
+++ b/
lib/ZOOM/IRSpy.pm
@@
-1,4
+1,4
@@
-# $Id: IRSpy.pm,v 1.74 2007-03-05 19:45:54 mike Exp $
+# $Id: IRSpy.pm,v 1.75 2007-03-09 08:56:37 mike Exp $
package ZOOM::IRSpy;
@@
-330,6
+330,7
@@
sub check {
$conn->log("irspy", "has no more tests: removing");
$this->_rewrite_record($conn);
$conn->option(rewrote_record => 1);
+ $conn->destroy();
if (@{ $this->{queue} } == 0) {
splice @conn, $i0, 1;
} else {