Don't synchronize
This commit is contained in:
parent
1c30ce7e8a
commit
158bf6b224
@ -85,7 +85,7 @@ class DynamicBufferSource(val minimalBufferSize: Int = 0) : MultiBufferSource {
|
||||
val dependants = ArrayList<State>(0)
|
||||
var priority = -1
|
||||
var dirty: Boolean = false
|
||||
val builder by lazy {
|
||||
val builder by lazy(LazyThreadSafetyMode.NONE) {
|
||||
BufferBuilder(type.bufferSize().coerceAtLeast(minimalBufferSize))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user