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:
1 parent
399bf14150
commit
489403c58b
19 files changed
+40
-41
No files matched your search
@@ -141,8 +141,7 @@ impl CommandBlock {
|
||||
|
||||
server
|
||||
.command_dispatcher
|
||||
.read()
|
||||
.await
|
||||
.load()
|
||||
.handle_command(&source, command)
|
||||
.await;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user