Skip to content

Commit

Permalink
Update text/0580-destroyables.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Robert Jackson <me@rwjblue.com>
  • Loading branch information
Chris Garrett and rwjblue authored Mar 4, 2020
1 parent 584b6f2 commit 785d185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0580-destroyables.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ Destruction via `destroy()` follows these steps:

1. Mark the destroyable such that `isDestroying(destroyable)` returns `true`
2. Schedule calling the destroyable's destructors
4. Call `destroy()` on each of the destroyable's associated children
3. Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`
3. Call `destroy()` on each of the destroyable's associated children
4. Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`

This algorithm results in the entire tree of destroyables being first marked as
destroyed, then having all of their destructors called, and finally all being
Expand Down

0 comments on commit 785d185

Please sign in to comment.