Add clone() back to request_id to fix compiler error in juniper_warp (#712)
This is the last item required to close #705
This commit is contained in:
parent
61bc35251f
commit
de8b2af0d7
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ pub mod subscriptions {
|
||||||
let state = Arc::new(SubscriptionState {
|
let state = Arc::new(SubscriptionState {
|
||||||
should_stop: AtomicBool::new(false),
|
should_stop: AtomicBool::new(false),
|
||||||
});
|
});
|
||||||
subscription_states.insert(request_id, state.clone());
|
subscription_states.insert(request_id.clone(), state.clone());
|
||||||
|
|
||||||
let ws_tx = ws_tx.clone();
|
let ws_tx = ws_tx.clone();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue