Skip to content

Commit f3750d0

Browse files
committed
fix(socketio/handler): spawn the returned future for MessageHandler
1 parent 807e564 commit f3750d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

socketioxide/src/handler/message.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ macro_rules! impl_async_handler {
269269
},
270270
};
271271

272-
(self.clone())($($ty,)* last);
272+
let fut = (self.clone())($($ty,)* last);
273+
tokio::spawn(fut);
273274
}
274275
}
275276
};

0 commit comments

Comments
 (0)