aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/testbot
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples/testbot')
-rw-r--r--azalea/examples/testbot/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs
index 6adb782c..2c282f07 100644
--- a/azalea/examples/testbot/main.rs
+++ b/azalea/examples/testbot/main.rs
@@ -33,7 +33,7 @@ use commands::{CommandSource, register_commands};
use parking_lot::Mutex;
#[tokio::main]
-async fn main() {
+async fn main() -> AppExit {
let args = parse_args();
thread::spawn(deadlock_detection_thread);
@@ -65,7 +65,6 @@ async fn main() {
})
.start(join_address)
.await
- .unwrap();
}
/// Runs a loop that checks for deadlocks every 10 seconds.