{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6097","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6097/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6097/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6097/events","html_url":"https://github.com/hazelcast/hazelcast/pull/6097","id":104011106,"number":6097,"title":"Fixes memory leak in client listeners","user":{"login":"sancar","id":570462,"avatar_url":"https://avatars.githubusercontent.com/u/570462?v=3","gravatar_id":"","url":"https://api.github.com/users/sancar","html_url":"https://github.com/sancar","followers_url":"https://api.github.com/users/sancar/followers","following_url":"https://api.github.com/users/sancar/following{/other_user}","gists_url":"https://api.github.com/users/sancar/gists{/gist_id}","starred_url":"https://api.github.com/users/sancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sancar/subscriptions","organizations_url":"https://api.github.com/users/sancar/orgs","repos_url":"https://api.github.com/users/sancar/repos","events_url":"https://api.github.com/users/sancar/events{/privacy}","received_events_url":"https://api.github.com/users/sancar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Client","name":"Team: Client","color":"99ccff"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"sancar","id":570462,"avatar_url":"https://avatars.githubusercontent.com/u/570462?v=3","gravatar_id":"","url":"https://api.github.com/users/sancar","html_url":"https://github.com/sancar","followers_url":"https://api.github.com/users/sancar/followers","following_url":"https://api.github.com/users/sancar/following{/other_user}","gists_url":"https://api.github.com/users/sancar/gists{/gist_id}","starred_url":"https://api.github.com/users/sancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sancar/subscriptions","organizations_url":"https://api.github.com/users/sancar/orgs","repos_url":"https://api.github.com/users/sancar/repos","events_url":"https://api.github.com/users/sancar/events{/privacy}","received_events_url":"https://api.github.com/users/sancar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.6","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61/labels","id":982584,"number":61,"title":"3.6","description":"","creator":{"login":"enesakar","id":234086,"avatar_url":"https://avatars.githubusercontent.com/u/234086?v=3","gravatar_id":"","url":"https://api.github.com/users/enesakar","html_url":"https://github.com/enesakar","followers_url":"https://api.github.com/users/enesakar/followers","following_url":"https://api.github.com/users/enesakar/following{/other_user}","gists_url":"https://api.github.com/users/enesakar/gists{/gist_id}","starred_url":"https://api.github.com/users/enesakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enesakar/subscriptions","organizations_url":"https://api.github.com/users/enesakar/orgs","repos_url":"https://api.github.com/users/enesakar/repos","events_url":"https://api.github.com/users/enesakar/events{/privacy}","received_events_url":"https://api.github.com/users/enesakar/received_events","type":"User","site_admin":false},"open_issues":150,"closed_issues":378,"state":"open","created_at":"2015-02-17T09:27:09Z","updated_at":"2015-09-09T08:09:04Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-31T08:39:35Z","updated_at":"2015-09-09T08:34:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6097","html_url":"https://github.com/hazelcast/hazelcast/pull/6097","diff_url":"https://github.com/hazelcast/hazelcast/pull/6097.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/6097.patch"},"body":"Memory leak occurs when a listener added and removed from client.\r\nA remove runnable in the collection that is stored in ClientEndpointImpl\r\nis the leftover. This remove runnable collection was used to cleanup the\r\nlisteners when client is disconnected. With this change, listener removal\r\nis always done via this remove runnables and runnable itself removed.\r\n\r\nfixes #5893"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/138827297","html_url":"https://github.com/hazelcast/hazelcast/pull/6097#issuecomment-138827297","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6097","id":138827297,"user":{"login":"sancar","id":570462,"avatar_url":"https://avatars.githubusercontent.com/u/570462?v=3","gravatar_id":"","url":"https://api.github.com/users/sancar","html_url":"https://github.com/sancar","followers_url":"https://api.github.com/users/sancar/followers","following_url":"https://api.github.com/users/sancar/following{/other_user}","gists_url":"https://api.github.com/users/sancar/gists{/gist_id}","starred_url":"https://api.github.com/users/sancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sancar/subscriptions","organizations_url":"https://api.github.com/users/sancar/orgs","repos_url":"https://api.github.com/users/sancar/repos","events_url":"https://api.github.com/users/sancar/events{/privacy}","received_events_url":"https://api.github.com/users/sancar/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T08:34:02Z","updated_at":"2015-09-09T08:34:02Z","body":"verify"}}