Skip to content

fix: resolve event loop conflict with ib-async v2.0.1#577

Merged
brndnmtthws merged 1 commit into
mainfrom
fix-ib-async-event-loop
Jun 25, 2025
Merged

fix: resolve event loop conflict with ib-async v2.0.1#577
brndnmtthws merged 1 commit into
mainfrom
fix-ib-async-event-loop

Conversation

@brndnmtthws

Copy link
Copy Markdown
Owner

The upgrade from ib-async v1.0.3 to v2.0.1 introduced a new getLoop() function that caches and automatically creates event loops. This caused a ValueError when the Future was created before IB's event loop was established.

Fixed by using util.getLoop().create_future() to ensure the Future uses the same event loop as IB.

The upgrade from ib-async v1.0.3 to v2.0.1 introduced a new getLoop()
function that caches and automatically creates event loops. This caused
a ValueError when the Future was created before IB's event loop was
established.

Fixed by using util.getLoop().create_future() to ensure the Future
uses the same event loop as IB.
@brndnmtthws brndnmtthws merged commit e546d3f into main Jun 25, 2025
7 checks passed
@brndnmtthws brndnmtthws deleted the fix-ib-async-event-loop branch June 25, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant