ModelInference / perfume-frontend

Web-based frontend for Perfume tool
Other
1 stars 0 forks source link

Fix Hangup in searchForShortestAndLongestPath #62

Closed bestchai closed 4 years ago

bestchai commented 4 years ago

What: When given an input with a loop consisting of more than one node, the searchForShortestAndLongestPath method will endlessly loop and cause a hangup on the web browser.

Why: searchForShortestAndLongestPath was checking for loops, but only loops that consisted of one node (where a node points to itself). This made the browser hangup and freeze.

[Issue created by stanleyrya: 2015-10-22]

[Comment created by ohmann: 2015-10-22] Resolved in 0c33860994de.

[Comment created by stanleyrya: 2015-10-22] @ohmann:

Ready for review! :)

Changesets:
40fbad64f9e3