mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
POLYGLOT-651 Fix for "write after end"
This commit is contained in:
parent
6e525398a4
commit
41abc5576b
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user