https://issues.dlang.org/show_bug.cgi?id=18953
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/3a4707b4b15743ff4a068fe5ac6b983b6ce042c4
fix issue 18953 - extern(C++) struct destructor not called
https://issues.dlang.org/show_bug.cgi?id=18953
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=18953
--- Comment #4 from Rainer Schuetze ---
I added a test for this in some iteration, but it seemed it failed/crashed on
Linux, so I removed it immediately to not complicate the PR.
I'll open a new PR with a test case...
--
https://issues.dlang.org/show_bug.cgi?id=18953
Manu changed:
What|Removed |Added
Keywords||C++, industry
--
https://issues.dlang.org/show_bug.cgi?id=18953
--- Comment #3 from Manu ---
Was this fixed by your last merged patch?
--
https://issues.dlang.org/show_bug.cgi?id=18953
Manu changed:
What|Removed |Added
CC||turkey...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=18953
--- Comment #1 from Rainer Schuetze ---
Probalby happens because TypeInfo_Struct.destroy doesn't use the expected
__thiscall calling convention:
https://github.com/dlang/druntime/blob/master/src/object.d#L2010
--