Netflix/RxJava — pull request #430 by zsxwing (2013-10-12 07:59:37+00:00)
Title: Fixed issue #428

I fixed the issue #428. This issus is because the wrong order of `unsubscribe` and `emitChunk`.

`unsubscribe` will cancel the Future, and the currrent thread's interrupt status will be set. If `unsubscribe` is called before `emitChunk`, the currrent thread's interrupt status has already set before `emitChunk`. It may confuse users when they have some codes depending on the interrupt status.

I put `emitChunk` before `unsubscribe` and added a unit test for it.