{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/node-sensortag/issues/57","labels_url":"https://api.github.com/repos/sandeepmistry/node-sensortag/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/node-sensortag/issues/57/comments","events_url":"https://api.github.com/repos/sandeepmistry/node-sensortag/issues/57/events","html_url":"https://github.com/sandeepmistry/node-sensortag/issues/57","id":105647572,"number":57,"title":"EventEmitter leaks when SCAN_DUPLICATES = true","user":{"login":"cristian-t","id":8492948,"avatar_url":"https://avatars.githubusercontent.com/u/8492948?v=3","gravatar_id":"","url":"https://api.github.com/users/cristian-t","html_url":"https://github.com/cristian-t","followers_url":"https://api.github.com/users/cristian-t/followers","following_url":"https://api.github.com/users/cristian-t/following{/other_user}","gists_url":"https://api.github.com/users/cristian-t/gists{/gist_id}","starred_url":"https://api.github.com/users/cristian-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristian-t/subscriptions","organizations_url":"https://api.github.com/users/cristian-t/orgs","repos_url":"https://api.github.com/users/cristian-t/repos","events_url":"https://api.github.com/users/cristian-t/events{/privacy}","received_events_url":"https://api.github.com/users/cristian-t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-09T17:40:03Z","updated_at":"2015-09-20T19:12:03Z","closed_at":"2015-09-20T19:12:03Z","body":"Ever since I switched to Node.js 0.12 I've been getting EventEmitter memory leak warnings. It seems when SCAN_DUPLICATES is set to true, events will be added for every \"discovery\" of the same sensor tag.\r\nI've posted this issue here since I am using ti sensor tags, but I assume this would happen with any BLE device."},"comment":{"url":"https://api.github.com/repos/sandeepmistry/node-sensortag/issues/comments/141821833","html_url":"https://github.com/sandeepmistry/node-sensortag/issues/57#issuecomment-141821833","issue_url":"https://api.github.com/repos/sandeepmistry/node-sensortag/issues/57","id":141821833,"user":{"login":"sandeepmistry","id":1163840,"avatar_url":"https://avatars.githubusercontent.com/u/1163840?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeepmistry","html_url":"https://github.com/sandeepmistry","followers_url":"https://api.github.com/users/sandeepmistry/followers","following_url":"https://api.github.com/users/sandeepmistry/following{/other_user}","gists_url":"https://api.github.com/users/sandeepmistry/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeepmistry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeepmistry/subscriptions","organizations_url":"https://api.github.com/users/sandeepmistry/orgs","repos_url":"https://api.github.com/users/sandeepmistry/repos","events_url":"https://api.github.com/users/sandeepmistry/events{/privacy}","received_events_url":"https://api.github.com/users/sandeepmistry/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T19:12:03Z","updated_at":"2015-09-20T19:12:03Z","body":"@cristian-t good to know, those aspects are outside the scope of this module.\r\n\r\nI suggest you stick to using noble directly to track RSSI."}}