https://issues.dlang.org/show_bug.cgi?id=15595
Issue ID: 15595
Summary: access violation in _d_interface_cast during GC
collection
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
When using Unique!Object, if Object is collected by the GC during the same
collection cycle that calls the destructor of an object containing Unique!, the
destroy() function will produce an access violation during casting, because the
vtable pointer is no longer valid.
--