Update of /cvsroot/lxr/lxr/lib/LXR
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29829/lib/LXR
Modified Files:
Common.pm
Log Message:
Feature 1691378 (Rearchitect the DB backends) Part IX
* Converted Postgres to an object-orientated style
Note: an explicit call to the destructor of the LXR::Index was required since Perl wasn't doing it as part of the global destruction (on win32 v5.8.8)
Index: Common.pm
===================================================================
RCS file: /cvsroot/lxr/lxr/lib/LXR/Common.pm,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- Common.pm 10 Apr 2009 20:13:31 -0000 1.60
+++ Common.pm 9 May 2009 21:57:34 -0000 1.61
@@ -553,6 +553,8 @@
sub httpclean {
$config = undef;
$files = undef;
+
+ $index->DESTROY();
$index = undef;
}
|