{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2980","labels_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2980/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2980/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2980/events","html_url":"https://github.com/ReactiveX/RxJava/issues/2980","id":79593071,"number":2980,"title":"Race condition in NewThreadWorker","user":{"login":"headinthebox","id":1073054,"avatar_url":"https://avatars.githubusercontent.com/u/1073054?v=3","gravatar_id":"","url":"https://api.github.com/users/headinthebox","html_url":"https://github.com/headinthebox","followers_url":"https://api.github.com/users/headinthebox/followers","following_url":"https://api.github.com/users/headinthebox/following{/other_user}","gists_url":"https://api.github.com/users/headinthebox/gists{/gist_id}","starred_url":"https://api.github.com/users/headinthebox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headinthebox/subscriptions","organizations_url":"https://api.github.com/users/headinthebox/orgs","repos_url":"https://api.github.com/users/headinthebox/repos","events_url":"https://api.github.com/users/headinthebox/events{/privacy}","received_events_url":"https://api.github.com/users/headinthebox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReactiveX/RxJava/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ReactiveX/RxJava/milestones/11","html_url":"https://github.com/ReactiveX/RxJava/milestones/1.0.x","labels_url":"https://api.github.com/repos/ReactiveX/RxJava/milestones/11/labels","id":817560,"number":11,"title":"1.0.x","description":"Patch fixes on 1.0.x that do not add new functionality.","creator":{"login":"benjchristensen","id":813492,"avatar_url":"https://avatars.githubusercontent.com/u/813492?v=3","gravatar_id":"","url":"https://api.github.com/users/benjchristensen","html_url":"https://github.com/benjchristensen","followers_url":"https://api.github.com/users/benjchristensen/followers","following_url":"https://api.github.com/users/benjchristensen/following{/other_user}","gists_url":"https://api.github.com/users/benjchristensen/gists{/gist_id}","starred_url":"https://api.github.com/users/benjchristensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjchristensen/subscriptions","organizations_url":"https://api.github.com/users/benjchristensen/orgs","repos_url":"https://api.github.com/users/benjchristensen/repos","events_url":"https://api.github.com/users/benjchristensen/events{/privacy}","received_events_url":"https://api.github.com/users/benjchristensen/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":22,"state":"open","created_at":"2014-10-07T22:28:55Z","updated_at":"2015-05-22T21:15:43Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-22T20:14:43Z","updated_at":"2015-05-22T23:56:10Z","closed_at":"2015-05-22T21:15:43Z","body":"\r\nhttps://github.com/ReactiveX/RxJava/blob/1.x/src/main/java/rx/internal/schedulers/NewThreadWorker.java\r\n\r\nThread A calls w.schedule(…), passes the test on line 151, then sits at line 153\r\nThread B calls w.unsubscribe() and sits at line 213\r\nThread A enters scheduleActual and executes until line 169 where it calls schedule on an executor that has been shut down.\r\n"},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJava/issues/comments/104803640","html_url":"https://github.com/ReactiveX/RxJava/issues/2980#issuecomment-104803640","issue_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/2980","id":104803640,"user":{"login":"iNoles","id":49764,"avatar_url":"https://avatars.githubusercontent.com/u/49764?v=3","gravatar_id":"","url":"https://api.github.com/users/iNoles","html_url":"https://github.com/iNoles","followers_url":"https://api.github.com/users/iNoles/followers","following_url":"https://api.github.com/users/iNoles/following{/other_user}","gists_url":"https://api.github.com/users/iNoles/gists{/gist_id}","starred_url":"https://api.github.com/users/iNoles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNoles/subscriptions","organizations_url":"https://api.github.com/users/iNoles/orgs","repos_url":"https://api.github.com/users/iNoles/repos","events_url":"https://api.github.com/users/iNoles/events{/privacy}","received_events_url":"https://api.github.com/users/iNoles/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T23:56:10Z","updated_at":"2015-05-22T23:56:10Z","body":"@benjchristensen It is in https://github.com/ReactiveX/RxJava/blob/1.x/src/main/java/rx/schedulers/ExecutorScheduler.java"}}