DragonKnightOfBreeze / Paradox-Language-Support

IDEA Plugin: Paradox Language Support.
https://windea.icu/Paradox-Language-Support
MIT License
36 stars 4 forks source link

Deadlock during script localization idexing #62

Open LazyDev2k opened 6 months ago

LazyDev2k commented 6 months ago

I'm getting regular hang ups for IDEA caused by a deadlock involving this call:

icu.windea.pls.core.search.ParadoxLocalisationSearch$Companion.processVariants(ParadoxLocalisationSearch.kt:77)

Stack traces of affected threads: deadlock.txt

Plugin version: 1.3.1

DragonKnightOfBreeze commented 6 months ago

It seems this deadloak happens when you complete localisation names. Are you do it when IDE show it's indexing, or not but this localisatin file is somewhere special?

LazyDev2k commented 6 months ago

It usually happens during the editing of a localization file. However it also happened few times when I edited title or desc field value of some effect use blocks.