From ddae08493b758a7ef82f1f93ecc945c70159feb8 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 5 Apr 2021 08:02:56 -0400 Subject: [PATCH] Manage the send mem chan lifetime --- piker/brokers/kraken.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/brokers/kraken.py b/piker/brokers/kraken.py index ac80988b..3620f19a 100644 --- a/piker/brokers/kraken.py +++ b/piker/brokers/kraken.py @@ -467,7 +467,7 @@ async def stream_quotes( ws_pairs = {} sym_infos = {} - async with open_cached_client('kraken') as client: + async with open_cached_client('kraken') as client, send_chan as send_chan: # keep client cached for real-time section for sym in symbols: