1
0
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:
Nikolay Kim
2018-02-12 23:13:06 -08:00
parent b1eec3131f
commit 96b87761d1
6 changed files with 20 additions and 20 deletions

View File

@ -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
}