Permalink
Browse files

MDL-37893 Always notify pending starts before dispatching chunk

  • Loading branch information...
1 parent 2bbe844 commit fa3ca744ea1014ecc99e61a08edcca81e5baa510 @stronk7 stronk7 committed with mudrd8mz Feb 7, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 backup/util/xml/parser/processors/grouped_parser_processor.class.php
@@ -104,7 +104,10 @@ public function after_path($path) {
// 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

0 comments on commit fa3ca74

Please sign in to comment.