Closed Bug 1131300 Opened 9 years ago Closed 9 years ago

Give PLDHashTable a destructor

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1161377

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

If we give PLDHashTable a destructor that calls PL_DHashTableFinish() then we can avoid lots of explicit PL_DHashTableFinish() calls. But not all of them, because some of the call sites are tricky. So it must be safe to call Finish() twice, but that's not difficult to ensure.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.