{"action":"closed","issue":{"url":"https://api.github.com/repos/krnlde/knockout-undoredo/issues/3","repository_url":"https://api.github.com/repos/krnlde/knockout-undoredo","labels_url":"https://api.github.com/repos/krnlde/knockout-undoredo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/krnlde/knockout-undoredo/issues/3/comments","events_url":"https://api.github.com/repos/krnlde/knockout-undoredo/issues/3/events","html_url":"https://github.com/krnlde/knockout-undoredo/issues/3","id":191575153,"number":3,"title":"Crashes on circular references","user":{"login":"krnlde","id":1087002,"avatar_url":"https://avatars.githubusercontent.com/u/1087002?v=3","gravatar_id":"","url":"https://api.github.com/users/krnlde","html_url":"https://github.com/krnlde","followers_url":"https://api.github.com/users/krnlde/followers","following_url":"https://api.github.com/users/krnlde/following{/other_user}","gists_url":"https://api.github.com/users/krnlde/gists{/gist_id}","starred_url":"https://api.github.com/users/krnlde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krnlde/subscriptions","organizations_url":"https://api.github.com/users/krnlde/orgs","repos_url":"https://api.github.com/users/krnlde/repos","events_url":"https://api.github.com/users/krnlde/events{/privacy}","received_events_url":"https://api.github.com/users/krnlde/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-24T18:18:28Z","updated_at":"2016-11-28T11:55:50Z","closed_at":"2016-11-28T11:55:50Z","body":"```js\r\nconst undomanager = new UndoManager();\r\n\r\nlet semiCircleA = ko.observableArray();\r\nlet semiCircleB = ko.observableArray();\r\n\r\n// Creating the circular reference here:\r\nsemiCircleA.push(semiCircleB);\r\nsemiCircleB.push(semiCircleA);\r\n\r\nundomanager.startListening(semiCircleA);\r\n```\r\n\r\nThis code creates an infinite recursion with the result of a stackoverflow."}}
{"actor":{"display_login":"krnlde"}}