[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: RFE: refman - adding mention of os.exit not closing variables with default arguments.
- From: Robert Burke <sharpobject@...>
- Date: Wed, 24 Jun 2020 18:18:41 +0900
On Wed, Jun 24, 2020 at 10:45 AM Gé Weijers <firstname.lastname@example.org> wrote:
> - coroutine.close does not work on threads that are not suspended or
> dead, i.e. threads that are waiting for coroutine.resume to return.
This seems a bit hard to fix. If you put such a running thread that's
in coroutine.resume into a dead state, you'll have a hard time
yielding back into it. Is the problem here just about what happens
when you use os.exit in nested coroutines?