The simple answer is: Get rid of all your destructors. You don't need them. Get rid of all your delete statements. You don't need them. That's pretty much how you write code in D. (D has a garbage collector. It takes care of cleanup for you).