From ff1e28f88e93ba83cf76569b5613445b841efd45 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:00:37 -0600 Subject: Run handler function in a Tokio LocalSet (#295) * Run handler function in a Tokio LocalSet * remove tokio flavor=current_thread from examples * update changelog --- azalea/examples/echo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/examples/echo.rs') diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs index 0f59be2a..a2219008 100644 --- a/azalea/examples/echo.rs +++ b/azalea/examples/echo.rs @@ -2,7 +2,7 @@ use azalea::prelude::*; -#[tokio::main(flavor = "current_thread")] +#[tokio::main] async fn main() { let account = Account::offline("bot"); // or let account = Account::microsoft("email").await.unwrap(); -- cgit v1.2.3