Programming Languages, Kotlin, Software Development, Computer Science, Compilers.
locks is sometimes (regrettably) necessary for the safe functioning of a system, but it should always be done with extreme care. Unfortunately deadlocks are not always so easy to spot, especially as more layers of abstraction are added. Maybe I add a lock in MyDialogService but, unbeknownst to me,