🔎 Grep your coroutines code for catch (e: Exception)!
It swallows the CancellationException, an important signal in the coroutines machinery, so a cancelled polling job keeps running.
The fix is straightforward: Don't catch 'em all!
Watch the full course on YouTube 👇
https://kotl.in/5oh6zb
🔎 Grep your coroutines code for catch (e: Exception)! It swallows the CancellationException, an important signal in the coroutines machinery, so a cancelled polling job keeps running. The fix is straightforward: Don't catch 'em all! Watch the full course on YouTube 👇 https://kotl.in/5oh6zb
0 vue
Publié le 28/11/2026 14:03
1:14
🔎 Grep your coroutines code for catch (e: Exception)!
It swallows the CancellationException, an important signal in the coroutines machinery, so a cancelled polling job keeps running.
The fix is straightforward: Don't catch 'em all!
Watch the full course on YouTube 👇
https://kotl.in/5oh6zb
0 commentaire
?