Skip to content

Commit 972781e

Browse files
author
Guillaume Piolat
committed
Workaround #931 by constructing/destroying using druntime
1 parent f56fa59 commit 972781e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/dplug/core/nogc.d

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ void destroyNoGC(T)(ref T obj) nothrow @nogc
111111
}
112112

113113

114-
// Half-arsed attempts, fails with dyncast
115-
// FUTURE: enable this
116-
enum DPLUG_CORE_USES_NUMEM = true;
114+
// FUTURE: enable this, this was disabled to workaround #931
115+
enum DPLUG_CORE_USES_NUMEM = false;
117116

118117

119118
static if (DPLUG_CORE_USES_NUMEM)

0 commit comments

Comments
 (0)