提交 fb47f1d1 编写于 作者: K Kohsuke Kawaguchi

update to #index must be synchronized

上级 f2a39b52
...@@ -226,7 +226,7 @@ public abstract class AbstractLazyLoadRunMap<R> extends AbstractMap<Integer,R> i ...@@ -226,7 +226,7 @@ public abstract class AbstractLazyLoadRunMap<R> extends AbstractMap<Integer,R> i
* Primarily for debugging and testing lazy loading behaviour. * Primarily for debugging and testing lazy loading behaviour.
* @since 1.507 * @since 1.507
*/ */
public void purgeCache() { public synchronized void purgeCache() {
index = new Index(); index = new Index();
fullyLoaded = false; fullyLoaded = false;
loadIdOnDisk(); loadIdOnDisk();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册