chore: switch command_dispatcher to ArcSwap

i need this for patchbukkit, but this is also safer in terms of deadlocks
This commit is contained in:
Alexander Medvedev committed 2026-08-19 18:57:31 +02:00
1 parent 399bf14150
commit 489403c58b
19 files changed
+40 -41

No files matched your search

+1 -2
View File
@@ -141,8 +141,7 @@ impl CommandBlock {
server
.command_dispatcher
.read()
.await
.load()
.handle_command(&source, command)
.await;
}