{"action":"closed","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/546","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/546/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/546/events","html_url":"https://github.com/ReactiveX/RxJS/issues/546","id":111737451,"number":546,"title":"retry and retryWhen don't call unsubscription logic when the source observable errors","user":{"login":"blesh","id":1540597,"avatar_url":"https://avatars.githubusercontent.com/u/1540597?v=3","gravatar_id":"","url":"https://api.github.com/users/blesh","html_url":"https://github.com/blesh","followers_url":"https://api.github.com/users/blesh/followers","following_url":"https://api.github.com/users/blesh/following{/other_user}","gists_url":"https://api.github.com/users/blesh/gists{/gist_id}","starred_url":"https://api.github.com/users/blesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesh/subscriptions","organizations_url":"https://api.github.com/users/blesh/orgs","repos_url":"https://api.github.com/users/blesh/repos","events_url":"https://api.github.com/users/blesh/events{/privacy}","received_events_url":"https://api.github.com/users/blesh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReactiveX/RxJS/labels/status:%20PRs%20welcome","name":"status: PRs welcome","color":"159818"},{"url":"https://api.github.com/repos/ReactiveX/RxJS/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ReactiveX/RxJS/milestones/2","html_url":"https://github.com/ReactiveX/RxJS/milestones/Initial%20Beta","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/milestones/2/labels","id":1161181,"number":2,"title":"Initial Beta","description":null,"creator":{"login":"blesh","id":1540597,"avatar_url":"https://avatars.githubusercontent.com/u/1540597?v=3","gravatar_id":"","url":"https://api.github.com/users/blesh","html_url":"https://github.com/blesh","followers_url":"https://api.github.com/users/blesh/followers","following_url":"https://api.github.com/users/blesh/following{/other_user}","gists_url":"https://api.github.com/users/blesh/gists{/gist_id}","starred_url":"https://api.github.com/users/blesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesh/subscriptions","organizations_url":"https://api.github.com/users/blesh/orgs","repos_url":"https://api.github.com/users/blesh/repos","events_url":"https://api.github.com/users/blesh/events{/privacy}","received_events_url":"https://api.github.com/users/blesh/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":33,"state":"open","created_at":"2015-06-12T00:27:46Z","updated_at":"2015-10-20T12:41:59Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-16T01:03:19Z","updated_at":"2015-10-20T12:41:59Z","closed_at":"2015-10-20T12:41:59Z","body":"Basically this scenario:\r\n\r\n```js\r\nObservable.create(observer => {\r\n  observer.error('bad');\r\n  return () => {\r\n    console.log('tear down');\r\n  };\r\n}).retryWhen(errors => Observable.timer(3000))\r\n```\r\n\r\nthat `\"tear down\"` is never logged to console."}}