POLYGLOT-651 Fix for "write after end"

This commit is contained in:
Patrick Steele-Idem 2014-01-14 14:53:41 -07:00
parent 6e525398a4
commit 41abc5576b

View File

@ -20,6 +20,12 @@ define(
}
function renderBody(data) {
if (asyncFragment.finished) {
// It looks like the fragment timed out and has already
// been marked as finished... do not render the body
return;
}
try {
if (input.invokeBody) {
input.invokeBody(asyncContext, data);