Consume Recipe when building a Stream

This commit is contained in:
Héctor Ramón Jiménez 2019-12-14 01:13:01 +01:00
parent 69ed631d44
commit c688452d7b
4 changed files with 5 additions and 4 deletions

View file

@ -470,6 +470,7 @@ impl Subscriptions {
let stream = recipe.stream(event_receiver);
// TODO: Find out how to avoid using a mutex here
let proxy =
std::sync::Arc::new(std::sync::Mutex::new(proxy.clone()));