Skip to content

Conversation

@tgvashworth
Copy link
Contributor

Was playing with how to nest components and make sure that all components are properly torn down – essentially building a helper for the technique talked about on the mailing list(s).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to 'describe' :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops!

@angus-c
Copy link
Contributor

angus-c commented Oct 24, 2013

can you make it this style to be more consistent with other flight code?

if (info && info.instance) {
  info.instance.teardown();
}

angus-c added a commit that referenced this pull request Oct 30, 2013
Fix teardown all to support teardowns that trigger other teardowns.
@angus-c angus-c merged commit f80dd20 into flightjs:master Oct 30, 2013
@tgvashworth tgvashworth deleted the fix-teardown-all branch January 23, 2014 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants