[Bps-public-commit] smokingit-worker branch, master, updated. d246a205d47c4a5afdab204bd898eec323705511

Alex Vandiver alexmv at bestpractical.com
Thu May 15 12:31:19 EDT 2014


The branch, master has been updated
       via  d246a205d47c4a5afdab204bd898eec323705511 (commit)
      from  f07b1ba3384b2246357b966b5d5174b5872e533b (commit)

Summary of changes:
 lib/Smokingit/Worker.pm | 1 +
 1 file changed, 1 insertion(+)

- Log -----------------------------------------------------------------
commit d246a205d47c4a5afdab204bd898eec323705511
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu May 15 12:31:16 2014 -0400

    @cleaners is closed over; ensure it is emptied, and the dh connections closed

diff --git a/lib/Smokingit/Worker.pm b/lib/Smokingit/Worker.pm
index 3df116c..e2af70c 100644
--- a/lib/Smokingit/Worker.pm
+++ b/lib/Smokingit/Worker.pm
@@ -124,6 +124,7 @@ sub run_tests {
         system("git", "clean", "-fxdq");
         system("git", "reset", "--hard", "HEAD");
         $_->clean for @cleaners;
+        @cleaners = ();
         chdir( $self->repo_path );
         %ENV = %ORIGINAL_ENV;
         return undef;

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list