[Issue 16594] module destructors called again if an exception got thrown earlier
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 7 08:51:59 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16594
--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/20f84a3fd96859da98291f34107065b876a4ce6c
fix Issue 16594 - static dtors called twice w/ exception
- must call finiSections when an exception is thrown in a destructor
- marks runtime as shut down, so final unloading
of executable doesn't try to run module dtors again
https://github.com/dlang/druntime/commit/a9102475cfe169a7fac2c6ce2494f5a272765b21
Merge pull request #1665 from MartinNowak/fix16594
fix Issue 16594 - static dtors called twice w/ exception
--
More information about the Digitalmars-d-bugs
mailing list