synchronized cache
This commit is contained in:
parent
f0d2da72ae
commit
f440394121
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class ProfileStore(val injector: HasAndroidInjector, val data: JSONObject, val d
|
|||
return ret
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
fun getSpecificProfile(profileName: String): PureProfile? {
|
||||
var profile: PureProfile? = null
|
||||
val units = JsonHelper.safeGetStringAllowNull(data, "units", storeUnits())
|
||||
|
|
Loading…
Reference in a new issue