title: Rxjava error handling:App not crash after subscription ends
body: <p>while learing rxjava/rxandroid i have came across one scenario. please help me to understand it.
  please check below code.</p>
  <pre><code>val observable:Observable&lt;Int&gt; = Observable.create {
              Log.d(TAG, &quot;start emission&quot;)
              it.onNext(1)
              it.onNext(2)
              it.onNext(3)
              it.onError(RuntimeException())
              Log.d(TAG, &quot;isObserverDispose: ${it.isDisposed}&quot;)
              it.onNext(4)
              Log.d(TAG, &quot;end emission&quot;)
          }
  
          val v = observable.subscribe({
              Log.d(TAG, &quot;onNext: $it&quot;)
  
          },{
              Log.d(TAG, &quot;onError: $it&quot;)
          })
  
  </code></pre>
  <p><strong>output</strong></p>
  <p>MainActivity: start emission</p>
  <p>MainActivity: onNext: 1</p>
  <p>MainActivity: onNext: 2</p>
  <p>MainActivity: onNext: 3</p>
  <p>MainActivity: onError: java.lang.RuntimeException</p>
  <p>MainActivity: isObserverDispose: true</p>
  <p>MainActivity: end emission</p>
  <p>so as per my understanding, After calling onError(3) subscription need to end and if there is any emission after ending subscription, app will crash. But as per output app is not crashing.
  Can someone help me to understand what is going here.</p>