Permalink
Browse files

MDL-37893 Always notify pending starts before dispatching chunk

  • Loading branch information...
1 parent 2c06c71 commit 43b83ea19ead917cac2778a0fd0a2f915805bf1b @stronk7 stronk7 committed 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 43b83ea

Please sign in to comment.