Also fix memory corruption for GDC

This commit is contained in:
Mike Bierlee 2016-12-18 01:21:07 +01:00
parent 708ec67070
commit 0d5180c98f

View file

@ -120,8 +120,7 @@ synchronized class DependencyContainer {
private ResolveOption persistentResolveOptions;
~this() {
pragma(msg, __VERSION__);
if (!(vendor == Vendor.digitalMars && __VERSION__ == 2066)) {
if (!((vendor == Vendor.digitalMars || vendor == Vendor.gnu) && __VERSION__ == 2066)) {
clearAllRegistrations();
}
}