diff --git a/lib/taglibs/async/AsyncFragmentTag.js b/lib/taglibs/async/AsyncFragmentTag.js index eb4cd14dd..71c0261fa 100644 --- a/lib/taglibs/async/AsyncFragmentTag.js +++ b/lib/taglibs/async/AsyncFragmentTag.js @@ -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);