Summary
if you have nested expressions with defer statement not all of them will be called
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
I provided screenshots which demonstrates this issue. I bet it related to nested async contexts
Expected Result
All defer statements called to run clean up logic
Observed Result
Defer statement not called. Inside Enter function (highlighted on screenshot)
Platform(s)
All

