mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-37893 Always notify pending starts before dispatching chunk
This commit is contained in:
parent
2c06c715c7
commit
43b83ea19e
@ -104,7 +104,10 @@ abstract class grouped_parser_processor extends simplified_parser_processor {
|
||||
// currentdata, properly built
|
||||
$data = $this->currentdata[$path];
|
||||
unset($this->currentdata[$path]);
|
||||
// Always, before dispatching any chunk, send all pending start notifications.
|
||||
$this->process_pending_startend_notifications($path, 'start');
|
||||
// TODO: If running under DEBUG_DEVELOPER notice about >1MB grouped chunks
|
||||
// And, finally, dispatch it.
|
||||
$this->dispatch_chunk($data);
|
||||
}
|
||||
// Normal notification of path end
|
||||
|
Loading…
x
Reference in New Issue
Block a user