https://kotlinlang.org logo
Title
j

jush

03/22/2023, 6:49 AM
👋 I opened issue #2934 and PR#2935 that tries to address it. Happy to discuss it here or over at GitHub.
@Ignat Beresnev friendly ping :)
i

Ignat Beresnev

04/06/2023, 9:23 PM
Hey! Yeah, sorry for the delay, I wasn't sure if it was thread-safe, had to think about it and google a bit. Left a comment 🙂
j

jush

04/11/2023, 7:23 AM
Thanks a lot for your comment! I also had to check what you meant about the thread safety. Luckily ChatGPT did a good job explaining it because I didn't quite understand how being a local variable would be a problem. I updated the code according to your suggestions.