Disconnect test

This commit is contained in:
arkpar
2016-02-16 19:08:58 +01:00
parent f4fa747cd0
commit 217cbec50e
3 changed files with 53 additions and 18 deletions

View File

@@ -634,7 +634,6 @@ impl<Message> Host<Message> where Message: Send + Sync + Clone {
}
if kill {
self.kill_connection(token, io, true); //TODO: mark connection as dead an check in kill_connection
return;
}
for p in ready_data {
let h = self.handlers.read().unwrap().get(p).unwrap().clone();