{"action":"created","issue":{"url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/940","repository_url":"https://api.github.com/repos/ReactWindows/react-native-windows","labels_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/940/labels{/name}","comments_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/940/comments","events_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/940/events","html_url":"https://github.com/ReactWindows/react-native-windows/issues/940","id":196068943,"number":940,"title":"Crash when double-removing items.","user":{"login":"Pokute","id":5271115,"avatar_url":"https://avatars.githubusercontent.com/u/5271115?v=3","gravatar_id":"","url":"https://api.github.com/users/Pokute","html_url":"https://github.com/Pokute","followers_url":"https://api.github.com/users/Pokute/followers","following_url":"https://api.github.com/users/Pokute/following{/other_user}","gists_url":"https://api.github.com/users/Pokute/gists{/gist_id}","starred_url":"https://api.github.com/users/Pokute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pokute/subscriptions","organizations_url":"https://api.github.com/users/Pokute/orgs","repos_url":"https://api.github.com/users/Pokute/repos","events_url":"https://api.github.com/users/Pokute/events{/privacy}","received_events_url":"https://api.github.com/users/Pokute/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-12-16T14:17:09Z","updated_at":"2016-12-20T12:49:41Z","closed_at":null,"body":"ReactNative app crashes when same item is removed twice.\r\nThe exception is thrown at NativeViewHierarchyManager.cs:230.\r\n\r\nI have an application with lots of animations and nifty stuff, which makes things slow on ReactNativeWindows, even natively on desktop.\r\n\r\nIn this application I have a list of items, number of which can be controlled by a \"number of items: [-] 15 [+]\"  -control. Additionally each item has a remove button.\r\n\r\nEach remove takes a bit less than as second, so with fast clicking I can fill the command queue with \"decrease items\" events. While the items are being decreased, I can still click the \"remove\" -button of an item and the exception is thrown when the queue reaches the \"remove\"- event for an item which has already been removed."},"comment":{"url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/comments/268235398","html_url":"https://github.com/ReactWindows/react-native-windows/issues/940#issuecomment-268235398","issue_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/940","id":268235398,"user":{"login":"Pokute","id":5271115,"avatar_url":"https://avatars.githubusercontent.com/u/5271115?v=3","gravatar_id":"","url":"https://api.github.com/users/Pokute","html_url":"https://github.com/Pokute","followers_url":"https://api.github.com/users/Pokute/followers","following_url":"https://api.github.com/users/Pokute/following{/other_user}","gists_url":"https://api.github.com/users/Pokute/gists{/gist_id}","starred_url":"https://api.github.com/users/Pokute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pokute/subscriptions","organizations_url":"https://api.github.com/users/Pokute/orgs","repos_url":"https://api.github.com/users/Pokute/repos","events_url":"https://api.github.com/users/Pokute/events{/privacy}","received_events_url":"https://api.github.com/users/Pokute/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T12:49:41Z","updated_at":"2016-12-20T12:49:41Z","body":"I finally have a test case. Clone, run npm install and run with react-native run-windows.\r\n\r\nAdd a couple of items with [+] buttons.\r\nFirst click to [-] button should remove the last row, **but also removes** the [remove]-button from another row.\r\n\r\nThis test case doesn't crash as readily as our product code with same problem, but I think the same issue is at play.\r\n\r\nhttps://github.com/Pokute/RNWListCrashTest"}}
{"actor":{"display_login":"Pokute"}}