Breadcrumbs: Warn against infinite loop
NorfairKing opened this issue · 2 comments
NorfairKing commented
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?
yesod/yesod-core/src/Yesod/Core/Class/Breadcrumbs.hs
Lines 28 to 31 in c59993f
snoyberg commented
Seems OK, PR welcome.