educative.io

Educative

Different behavior if I change sleep location

Hello,

If I change sleep statement to be before line 59 and I remove the sleep in line 118. It seems like the coroutine frame is existing and there is output that notification happened.
I believe what happens is that no one is actually resuming it, and the everything is destructed at the end of main.

what do you think?
Kobi