Skip to content

Commit

Permalink
fix async recursion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanKung committed Apr 21, 2023
1 parent 73f384c commit b4c3945
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/message/handlers/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ use crate::prelude::RTCSdpType;
use crate::transports::manager::TransportManager;
use crate::types::ice_transport::IceTrickleScheme;

#[async_recursion]
#[cfg_attr(feature = "wasm", async_recursion(?Send))]
#[cfg_attr(not(feature = "wasm"), async_recursion)]
async fn handle_join_dht(
handler: &MessageHandler,
act: PeerRingAction,
Expand Down

0 comments on commit b4c3945

Please sign in to comment.