Closed samstarling closed 6 years ago
The chaining of two getOrElseUpdate calls could result in two separate threads attempting to register the same counter. Widening the scope of the synchronised section should remedy this.
Thanks to @seanbrant for reporting this.
💯
The chaining of two getOrElseUpdate calls could result in two separate threads attempting to register the same counter. Widening the scope of the synchronised section should remedy this.
Thanks to @seanbrant for reporting this.