[Jifty-commit] r5981 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Wed Nov 5 12:07:35 EST 2008


Author: alexmv
Date: Wed Nov  5 12:07:35 2008
New Revision: 5981

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Dispatcher.pm

Log:
 r38869 at kohr-ah:  chmrr | 2008-11-05 11:20:58 -0500
  * The "after"/CLEANUP stage should run after the client has been told to go away


Modified: jifty/trunk/lib/Jifty/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Dispatcher.pm	Wed Nov  5 12:07:35 2008
@@ -860,6 +860,9 @@
         $self->_handle_stage('RUN' => 'show');
     }
 
+    # Close the handle down, so the client can go on their merry way
+    close STDOUT unless Jifty->web->request->is_subrequest;
+
     # Cleanup
     $self->_handle_stage('CLEANUP');
 


More information about the Jifty-commit mailing list