Own double destroy

See https://bugs.dojotoolkit.org/ticket/17763