|
|
@ -155,11 +155,7 @@ public class WeakRefCloneAssetCache implements AssetCache { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public <T> T getFromCache(AssetKey<T> key) { |
|
|
|
public <T> T getFromCache(AssetKey<T> key) { |
|
|
|
AssetRef smartInfo; |
|
|
|
AssetRef smartInfo = smartCache.get(key); |
|
|
|
synchronized (smartCache){ |
|
|
|
|
|
|
|
smartInfo = smartCache.get(key); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (smartInfo == null) { |
|
|
|
if (smartInfo == null) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|