{"action":"created","issue":{"url":"https://api.github.com/repos/vahidhedayati/grails-wschat-plugin/issues/3","labels_url":"https://api.github.com/repos/vahidhedayati/grails-wschat-plugin/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/vahidhedayati/grails-wschat-plugin/issues/3/comments","events_url":"https://api.github.com/repos/vahidhedayati/grails-wschat-plugin/issues/3/events","html_url":"https://github.com/vahidhedayati/grails-wschat-plugin/issues/3","id":52223764,"number":3,"title":"Concurrent Modification Exception","user":{"login":"grandec","id":8661286,"avatar_url":"https://avatars.githubusercontent.com/u/8661286?v=3","gravatar_id":"","url":"https://api.github.com/users/grandec","html_url":"https://github.com/grandec","followers_url":"https://api.github.com/users/grandec/followers","following_url":"https://api.github.com/users/grandec/following{/other_user}","gists_url":"https://api.github.com/users/grandec/gists{/gist_id}","starred_url":"https://api.github.com/users/grandec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grandec/subscriptions","organizations_url":"https://api.github.com/users/grandec/orgs","repos_url":"https://api.github.com/users/grandec/repos","events_url":"https://api.github.com/users/grandec/events{/privacy}","received_events_url":"https://api.github.com/users/grandec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":60,"created_at":"2014-12-17T10:26:18Z","updated_at":"2015-01-04T17:28:15Z","closed_at":null,"body":"Hi,\r\nI use this plugin and the \"Concurrent Modification Exception\" is thrown when i create a Session, disconnect, and create it again. The exception happens in the \"sendUserList\" method, i think it happens because when it is iterating to send all the user that a user has disconnected, someone enters the room and the map is updated with the new user while it is iterating. Even if the Set is set as synchronized, the iterator is not, so the problem happens.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vahidhedayati/grails-wschat-plugin/issues/comments/68640905","html_url":"https://github.com/vahidhedayati/grails-wschat-plugin/issues/3#issuecomment-68640905","issue_url":"https://api.github.com/repos/vahidhedayati/grails-wschat-plugin/issues/3","id":68640905,"user":{"login":"grandec","id":8661286,"avatar_url":"https://avatars.githubusercontent.com/u/8661286?v=3","gravatar_id":"","url":"https://api.github.com/users/grandec","html_url":"https://github.com/grandec","followers_url":"https://api.github.com/users/grandec/followers","following_url":"https://api.github.com/users/grandec/following{/other_user}","gists_url":"https://api.github.com/users/grandec/gists{/gist_id}","starred_url":"https://api.github.com/users/grandec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grandec/subscriptions","organizations_url":"https://api.github.com/users/grandec/orgs","repos_url":"https://api.github.com/users/grandec/repos","events_url":"https://api.github.com/users/grandec/events{/privacy}","received_events_url":"https://api.github.com/users/grandec/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T17:28:15Z","updated_at":"2015-01-04T17:28:15Z","body":"Hi, happy new year. :D\n\nWith this new version, when I log in to different rooms with the same log in, how the messaging will works? The messages goes to the last room logged? \n\n"}}