xeroc / python-graphenelib

Python3 library for Graphene-based blockchains
MIT License
74 stars 60 forks source link

Refactor handling of parse_messages() stop #155

Closed bitphage closed 4 years ago

bitphage commented 4 years ago

When parse_messages() stopped for any reason, websocket transport should be stopped, and get_response_by_id() should be notified about broken parser. Otherwise, an application hangs waiting forever for API response.

xeroc commented 4 years ago

LGTM