title: Does RxJava2 auto dispose observable when they call completed or error?
body: <p>I have a question about the disposal on RxJava. I found this below sentence on RxSwift document on Github.</p>
  <blockquote>
  <p>When a sequence sends the <code>completed</code> or <code>error</code> event all internal resources that compute sequence elements will be freed.</p>
  <p>To cancel production of sequence elements and free resources immediately, call dispose on the returned subscription.</p>
  </blockquote>
  <p>if I understand correctly the resources (observables) will be freed after they call <code>onCompleted</code> or <code>onError</code>.</p>
  <p>So the question is, does RxJava do the same thing like RxSwift or I need to call the dispose by myself?</p>