{"action":"opened","issue":{"url":"https://api.github.com/repos/RxDave/Rxx/issues/2","repository_url":"https://api.github.com/repos/RxDave/Rxx","labels_url":"https://api.github.com/repos/RxDave/Rxx/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/RxDave/Rxx/issues/2/comments","events_url":"https://api.github.com/repos/RxDave/Rxx/issues/2/events","html_url":"https://github.com/RxDave/Rxx/issues/2","id":157008322,"number":2,"title":"Race condition with ReconnectableObservable","user":{"login":"ndglover","id":2682997,"avatar_url":"https://avatars.githubusercontent.com/u/2682997?v=3","gravatar_id":"","url":"https://api.github.com/users/ndglover","html_url":"https://github.com/ndglover","followers_url":"https://api.github.com/users/ndglover/followers","following_url":"https://api.github.com/users/ndglover/following{/other_user}","gists_url":"https://api.github.com/users/ndglover/gists{/gist_id}","starred_url":"https://api.github.com/users/ndglover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndglover/subscriptions","organizations_url":"https://api.github.com/users/ndglover/orgs","repos_url":"https://api.github.com/users/ndglover/repos","events_url":"https://api.github.com/users/ndglover/events{/privacy}","received_events_url":"https://api.github.com/users/ndglover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T15:15:19Z","updated_at":"2016-05-26T15:15:19Z","closed_at":null,"body":"Hi Dave,\r\n\r\nI believe there is a race condition in the logic for Disposable versus new subscribers. I can't seem to reproduce it with a unit test using TestSchedulers. I can though using more realistic code (see attached), albeit not every time. What seems to happen is the RefCount drops to zero and the disposable is scheduled but not executed, subsequently a new subscriber comes in and gets the existing subject, then the subject is disposed beneath them and no more updates come though.\r\n\r\nIt only happens when you have a .SubscribeOn\r\n\r\nWondered if you had any thoughts on this?\r\n\r\nCrude test code\r\n[CrudeTestCode.txt](https://github.com/RxDave/Rxx/files/284684/CrudeTestCode.txt)\r\n\r\n\r\n"}}
{"actor":{"display_login":"ndglover"}}