{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift/issues/94","repository_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift","labels_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift/issues/94/comments","events_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift/issues/94/events","html_url":"https://github.com/ReactiveCocoa/ReactiveSwift/issues/94","id":189016504,"number":94,"title":"Question regarding memory/resource management","user":{"login":"TheArtOfEngineering","id":6432361,"avatar_url":"https://avatars.githubusercontent.com/u/6432361?v=3","gravatar_id":"","url":"https://api.github.com/users/TheArtOfEngineering","html_url":"https://github.com/TheArtOfEngineering","followers_url":"https://api.github.com/users/TheArtOfEngineering/followers","following_url":"https://api.github.com/users/TheArtOfEngineering/following{/other_user}","gists_url":"https://api.github.com/users/TheArtOfEngineering/gists{/gist_id}","starred_url":"https://api.github.com/users/TheArtOfEngineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheArtOfEngineering/subscriptions","organizations_url":"https://api.github.com/users/TheArtOfEngineering/orgs","repos_url":"https://api.github.com/users/TheArtOfEngineering/repos","events_url":"https://api.github.com/users/TheArtOfEngineering/events{/privacy}","received_events_url":"https://api.github.com/users/TheArtOfEngineering/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-14T02:36:29Z","updated_at":"2016-11-14T03:09:41Z","closed_at":null,"body":"I'm reading through the source code, and it looks like the only way to break the retain cycle for a Signal is to remove all of it's observers. So it seems strange to me that the method `observe` would be decorated with `@discardableResult`. It seems as though if any one of the returned `ActionDisposable` results was discarded, a retain cycle would be guaranteed (since there would be no way to remove it from the `Bag` of observers). I just wanted to ask if someone might be able to help me understand what's going on here."},"comment":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift/issues/comments/260239053","html_url":"https://github.com/ReactiveCocoa/ReactiveSwift/issues/94#issuecomment-260239053","issue_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveSwift/issues/94","id":260239053,"user":{"login":"TheArtOfEngineering","id":6432361,"avatar_url":"https://avatars.githubusercontent.com/u/6432361?v=3","gravatar_id":"","url":"https://api.github.com/users/TheArtOfEngineering","html_url":"https://github.com/TheArtOfEngineering","followers_url":"https://api.github.com/users/TheArtOfEngineering/followers","following_url":"https://api.github.com/users/TheArtOfEngineering/following{/other_user}","gists_url":"https://api.github.com/users/TheArtOfEngineering/gists{/gist_id}","starred_url":"https://api.github.com/users/TheArtOfEngineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheArtOfEngineering/subscriptions","organizations_url":"https://api.github.com/users/TheArtOfEngineering/orgs","repos_url":"https://api.github.com/users/TheArtOfEngineering/repos","events_url":"https://api.github.com/users/TheArtOfEngineering/events{/privacy}","received_events_url":"https://api.github.com/users/TheArtOfEngineering/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T03:09:40Z","updated_at":"2016-11-14T03:09:40Z","body":"Could you point me to where the Signal is released when a terminating event is sent though? It would have to break this retain cycle, right?"}}
{"actor":{"display_login":"TheArtOfEngineering"}}