[Bps-public-commit] r14439 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin

alexmv at bestpractical.com alexmv at bestpractical.com
Wed Jul 23 14:58:53 EDT 2008


Author: alexmv
Date: Wed Jul 23 14:58:50 2008
New Revision: 14439

Modified:
   Pushmi/trunk/   (props changed)
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Watcher.pm

Log:
 r34568 at kohr-ah:  chmrr | 2008-07-23 14:58:46 -0400
  * Now with less gaping memory leaks


Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Watcher.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Watcher.pm	(original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Watcher.pm	Wed Jul 23 14:58:50 2008
@@ -16,6 +16,8 @@
     my ($class, $id) = @_;
     my $previous = "";
 
+    my $pool = SVN::Pool->new_default;
+
     my $replica = Pushmi::Admin::Model::Replica->load($id);
     exit unless $replica->id;
 
@@ -34,6 +36,7 @@
             )->publish;
         }
         $previous = $replica->long_status;
+        $pool->clear;
         sleep 1;
     }
     



More information about the Bps-public-commit mailing list