Skip to content

Commit

Permalink
Prevent race condition when generating TS cache (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
omh authored and andrerom committed Sep 17, 2018
1 parent db9e6b1 commit 91205c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ezi18n/classes/eztstranslator.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ function loadTranslationFile( $locale, $filename, $requestedContext )
$this->Messages[$key] = $msg;
}
}
else
{
$this->BuildCache = true;
}
eZDebug::accumulatorStop( 'tstranslator_context_load' );
}
}
Expand Down

0 comments on commit 91205c0

Please sign in to comment.