Fix potential delete behavior of guard
Summary: There is a potential double free in destructor guard if someone calls a method which takes a DG in the destructor of the DG. This is potential in the case when someone is holding onto a DG while calling destroy() on the object. Reviewed By: @djwatson Differential Revision: D2463113
Showing
Please register or sign in to comment