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

[BUGFIX release] Ensure that inline {{link-to}} does not cause a crash. #10553

Merged
merged 1 commit into from
Mar 1, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Mar 1, 2015

Fixes #10360.

@mmun
Copy link
Member

mmun commented Mar 1, 2015

Much better!

mmun added a commit that referenced this pull request Mar 1, 2015
[BUGFIX release] Ensure that inline {{link-to}} does not cause a crash.
@mmun mmun merged commit b10fee8 into emberjs:master Mar 1, 2015
@mmun mmun deleted the link-to-inline branch March 1, 2015 03:55
@ef4
Copy link
Contributor

ef4 commented Mar 1, 2015

How did this crash the browser? I'm asking because I still see a browser crash that may be similar, and I don't understand this diff.

@rwjblue
Copy link
Member Author

rwjblue commented Mar 1, 2015

@ef4 - The stream for the bound title (in inline form), was never unsubscribed and it triggered a re-render, which then kept growing the streams (which were never cleaned up) and eventually (after 10 or so times) would completely freeze and crash.

@rwjblue
Copy link
Member Author

rwjblue commented Mar 1, 2015

@ef4 - Demo with v1.10.0: http://emberjs.jsbin.com/berebe/4/edit?html,js

@ef4
Copy link
Contributor

ef4 commented Mar 2, 2015

Ok, I suspect the crash I was getting is unrelated. I don't think it's ember's fault at all, I think that Chrome has a bug when dealing with CSS3 transforms scaled down near zero size.

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.

Issue with link-to helper causing page freezes
3 participants