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

Breadcrumbs: Warn against infinite loop #1727

Closed
NorfairKing opened this issue May 17, 2021 · 2 comments
Closed

Breadcrumbs: Warn against infinite loop #1727

NorfairKing opened this issue May 17, 2021 · 2 comments

Comments

@NorfairKing
Copy link
Contributor

Hi! Every once in a while I accidentally make an infinite loop in breadcrumbs, which then locks up my computer entirely.
Is there any chance we could give this code a recursion limit or a loop detector?

go back Nothing = return back
go back (Just this) = do
(title, next) <- breadcrumb this
go ((this, title) : back) next

@snoyberg
Copy link
Member

Seems OK, PR welcome.

@jezen
Copy link
Member

jezen commented Mar 30, 2022

I believe this is fixed in #1728 so I'll close this issue.

@jezen jezen closed this as completed Mar 30, 2022
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

No branches or pull requests

3 participants