Commit 78432856 authored by Aurelien Pupier's avatar Aurelien Pupier
Browse files

try to fix potential deadlock with sp_bar_builder

parent a8d47eae
......@@ -426,7 +426,7 @@ public class Repository implements IRepository, IJavaContainer {
@Override
public <T> T getRepositoryStore(final Class<T> repositoryStoreClass) {
if (stores == null || stores.isEmpty()) {
if (!isLoaded()) {
initRepositoryStores(NULL_PROGRESS_MONITOR);
enableBuild();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment