Skip to content

buffer() using TimeAndSizeBasedChunks incorrectly forces thread into interrupted state #428

Closed
@elandau

Description

@elandau

In TimeAndSizeBasedChunks.emitChunk, if emitChunk is called from the scheduled action in createChunk (i.e from the timeout thread), calling subscription.unsubscribe() ends up calling cancel() on the future which sets the thread's interrupted state to true. This state has an adverse effect on any blocking call performed in that thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions