Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bidi BackgroundConsumer not Properly Shutting Down Thread and Stream on Exceptions #820

Open
Assignees
vchudnov-g
@abbrowne126

Description

@abbrowne126

This was discovered inPub/Sub, whereby futures dependent on this class hang if not set with a timeout when a throw occurs inBackgroundConsumer's _thread_main.

When weopen a BackgroundConsumer, if something within the try block, e.g.open, throws, then the exception clauseslog but do not close the underlying stream or thread.

I believe this will be fixed by addingself.stop() when exceptions are caught. This appears consistent with the intent of the classas per the docstring. Then, thebidi_rpc will call ouradd_done_callback to surface the error.

I will be submitting a PR to address this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp