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:
Jerel Unruh 2020-07-21 01:08:45 -05:00 committed by GitHub
parent 61bc35251f
commit de8b2af0d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,7 +498,7 @@ pub mod subscriptions {
let state = Arc::new(SubscriptionState {
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();