Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Added a missing destroy().
Browse files Browse the repository at this point in the history
This is inside commented code, so it doesn't actually matter.
  • Loading branch information
alexrp committed Jul 10, 2012
1 parent a0ae902 commit c1d7164
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/object_.d
Expand Up @@ -2010,7 +2010,10 @@ extern (C) void _d_monitordelete(Object h, bool det)
// refcount and it may have multiple owners.
/+
if (det && (cast(void*) i) !is (cast(void*) h))
{
destroy(i);
GC.free(cast(void*)i);
}
+/
setMonitor(h, null);
}
Expand Down

0 comments on commit c1d7164

Please sign in to comment.