mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 18:09:22 +02:00
update examples
This commit is contained in:
@ -41,7 +41,7 @@ fn main() {
|
||||
println!("error");
|
||||
return
|
||||
}
|
||||
addr.send(ClientCommand(cmd));
|
||||
addr.do_send(ClientCommand(cmd));
|
||||
}
|
||||
});
|
||||
|
||||
@ -70,7 +70,7 @@ impl Actor for ChatClient {
|
||||
println!("Stopping");
|
||||
|
||||
// Stop application on disconnect
|
||||
Arbiter::system().send(actix::msgs::SystemExit(0));
|
||||
Arbiter::system().do_send(actix::msgs::SystemExit(0));
|
||||
|
||||
true
|
||||
}
|
||||
|
Reference in New Issue
Block a user