Are Fibers just broken in D?

bitwise bitwise.pvt at gmail.com
Wed Apr 25 02:12:10 UTC 2018


On Friday, 20 April 2018 at 18:58:36 UTC, Byron Moxie wrote:
> [...]
> In WIN32 it looks like its leaking memory

Unless there is something I'm misunderstanding, it seems that 
Fibers that were not run to completion won't unroll their stack, 
which would mean that some destructors wouldn't be called, and 
possibly, some memory wouldn't be freed:

https://github.com/dlang/druntime/blob/86cd40a036a67d9b1bff6c14e91cba1e5557b119/src/core/thread.d#L4142

Could this have something to do with the problem?



More information about the Digitalmars-d-learn mailing list