{"action":"closed","issue":{"url":"https://api.github.com/repos/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/35","labels_url":"https://api.github.com/repos/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/35/comments","events_url":"https://api.github.com/repos/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/35/events","html_url":"https://github.com/Kjuly/ALAssetsLibrary-CustomPhotoAlbum/issues/35","id":93738268,"number":35,"title":"Saving bulk images fails!","user":{"login":"sahil263","id":4958184,"avatar_url":"https://avatars.githubusercontent.com/u/4958184?v=3","gravatar_id":"","url":"https://api.github.com/users/sahil263","html_url":"https://github.com/sahil263","followers_url":"https://api.github.com/users/sahil263/followers","following_url":"https://api.github.com/users/sahil263/following{/other_user}","gists_url":"https://api.github.com/users/sahil263/gists{/gist_id}","starred_url":"https://api.github.com/users/sahil263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahil263/subscriptions","organizations_url":"https://api.github.com/users/sahil263/orgs","repos_url":"https://api.github.com/users/sahil263/repos","events_url":"https://api.github.com/users/sahil263/events{/privacy}","received_events_url":"https://api.github.com/users/sahil263/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-08T08:58:32Z","updated_at":"2015-07-09T06:34:55Z","closed_at":"2015-07-09T06:34:55Z","body":"I am using the code mentioned in issue  #2. But, when I try to save 17 images or so it works fine for some images and the process fails and gives following error:\r\n\r\n`_block_invoke238: Failed to add the asset to the custom photo album: Write busy`\r\n\r\nand only some images get save to the album. The problem is that the `for loop` is not waiting for the image to save or fail and it's firing multiple save requests... which overloads the `writeImageToSavedPhotosAlbum` method."}}