Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure we correctly cleanup the context #87

Merged
merged 1 commit into from
Jul 23, 2015

Conversation

stefanpenner
Copy link
Member

  • pending confirmation in my setup

@@ -7,3 +7,7 @@ export function setContext(context) {
export function getContext() {
return __test_context__;
}

export function unsetContext() {
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need another method here? Could you call 'setContext(undefined)'?

Copy link
Member Author

Choose a reason for hiding this comment

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

wanted it to be very obvious that It was specifically to unset, not just an overloaded the existing set.

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha, 👍

@chadhietala
Copy link
Contributor

@stefanpenner 👍 Thanks for dedicating your Mondays to fixing leaks.

@stefanpenner
Copy link
Member Author

Maybe I should spend Tuesday's learning how to spell:p

@stefanpenner
Copy link
Member Author

@rwjblue i think this is good to go.

@stefanpenner stefanpenner changed the title unsure we correctly cleanup the context ensure we correctly cleanup the context Jul 23, 2015
rwjblue added a commit that referenced this pull request Jul 23, 2015
unsure we correctly cleanup the context
@rwjblue rwjblue merged commit b04bd28 into emberjs:master Jul 23, 2015
@stefanpenner stefanpenner deleted the fix-the-leaks branch July 23, 2015 16:53
@rwjblue
Copy link
Member

rwjblue commented Jul 23, 2015

Released in:

  • ember-test-helpers@0.5.5
  • ember-qunit@0.4.5

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