{"action":"created","issue":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/322","labels_url":"https://api.github.com/repos/jxcore/jxcore/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/jxcore/jxcore/issues/322/comments","events_url":"https://api.github.com/repos/jxcore/jxcore/issues/322/events","html_url":"https://github.com/jxcore/jxcore/issues/322","id":72182341,"number":322,"title":"JX die with a Benchmark","user":{"login":"sebastianscatularo","id":1277510,"avatar_url":"https://avatars.githubusercontent.com/u/1277510?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianscatularo","html_url":"https://github.com/sebastianscatularo","followers_url":"https://api.github.com/users/sebastianscatularo/followers","following_url":"https://api.github.com/users/sebastianscatularo/following{/other_user}","gists_url":"https://api.github.com/users/sebastianscatularo/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianscatularo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianscatularo/subscriptions","organizations_url":"https://api.github.com/users/sebastianscatularo/orgs","repos_url":"https://api.github.com/users/sebastianscatularo/repos","events_url":"https://api.github.com/users/sebastianscatularo/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianscatularo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-30T14:38:09Z","updated_at":"2015-05-01T07:45:59Z","closed_at":null,"body":"\r\nHi everyone,\r\nWhen I run the following code with node, it's work fine. But, when I run it with JX, the process is executed twice and the terminal stays blocked.\r\nAm I doing something wrong?\r\nThis code try to make a benchmark to figure out the speed of FX and Node.\r\n\r\n```JavaScript\r\nvar fs = require('fs');\r\nvar util = require('util');\r\n\r\nvar start = process.hrtime();\r\n\r\nfor(var i = 0; i < 100; i++) {\r\n    (function(id) {\r\n        fs.readdir('.', function() {\r\n            var end = process.hrtime(start);\r\n            console.log(util.format('readdir %d finished in %ds', id, end[0] + end[1] / 1e9));\r\n        });\r\n    })(i);\r\n}                 \r\n```"},"comment":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/comments/98069254","html_url":"https://github.com/jxcore/jxcore/issues/322#issuecomment-98069254","issue_url":"https://api.github.com/repos/jxcore/jxcore/issues/322","id":98069254,"user":{"login":"ktrzeciaknubisa","id":5946844,"avatar_url":"https://avatars.githubusercontent.com/u/5946844?v=3","gravatar_id":"","url":"https://api.github.com/users/ktrzeciaknubisa","html_url":"https://github.com/ktrzeciaknubisa","followers_url":"https://api.github.com/users/ktrzeciaknubisa/followers","following_url":"https://api.github.com/users/ktrzeciaknubisa/following{/other_user}","gists_url":"https://api.github.com/users/ktrzeciaknubisa/gists{/gist_id}","starred_url":"https://api.github.com/users/ktrzeciaknubisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktrzeciaknubisa/subscriptions","organizations_url":"https://api.github.com/users/ktrzeciaknubisa/orgs","repos_url":"https://api.github.com/users/ktrzeciaknubisa/repos","events_url":"https://api.github.com/users/ktrzeciaknubisa/events{/privacy}","received_events_url":"https://api.github.com/users/ktrzeciaknubisa/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T07:45:59Z","updated_at":"2015-05-01T07:45:59Z","body":"Well, I have also tried with 2.3.7, and it works too. @sebastianscatularo Which is your operating system?"}}