commit | 20aeb1caa4e2232153d3a59923722c19a3563a78 | [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 | 1e933bee5fbb9c1927204a06145473808b71b0d2 | |
parent | 18c7868cecfe3b1c18113d13bda4e853d43e9fb1 [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.