commit | 6db8c505398a0979853f6c166e0a8bcafd9268f8 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu May 19 18:03:31 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu May 19 19:40:01 2011 -0700 |
tree | af906178d8b458e0030034809bccc962bfdd59ac | |
parent | 14a2935809e73a9d824888dc837f2f017100fd26 [diff] |
RefBase subclasses can now decide how they want to be destroyed. This adds a destroy() virtual on RefBase which sublasses can implement. destroy() is called in lieu of the destructor whenthe last strong ref goes away.