… | … | ||
---|---|---|---|
145 | 145 | ||
146 | void | 146 | void |
147 | attachable::do_destroy () | 147 | attachable::do_destroy () |
148 | { | 148 | { |
149 | invoke (EVENT_ATTACHABLE_DESTROY, DT_END); | 149 | invoke (EVENT_ATTACHABLE_DESTROY, DT_END); |
150 | |||
151 | if (self) | ||
152 | hv_clear (self); | ||
150 | 153 | ||
151 | //TODO: call generic destroy callback | 154 | //TODO: call generic destroy callback |
152 | mortals.push_back (this); | 155 | mortals.push_back (this); |
153 | } | 156 | } |
154 | 157 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |