commit | d781137601c05b623305592fbbe7b2d7d69087dd | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu May 19 18:03:31 2011 -0700 |
committer | Alex Ray <aray@google.com> | Tue Jul 30 13:56:56 2013 -0700 |
tree | 88a065a261a10f9915618a003b03cf4c3a92ac4f | |
parent | 23138b63df8788333f09a468cce36fd76d562577 [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.