Removed info

This commit is contained in:
arkpar 2016-06-17 18:28:19 +02:00
parent c340d8a34f
commit fc60ed92e6

View File

@ -105,7 +105,6 @@ impl<Message> NetworkService<Message> where Message: Send + Sync + Clone + 'stat
pub fn stop(&self) -> Result<(), UtilError> { pub fn stop(&self) -> Result<(), UtilError> {
let mut host = self.host.write().unwrap(); let mut host = self.host.write().unwrap();
if let Some(ref host) = *host { if let Some(ref host) = *host {
info!("Unregistering handler");
let io = IoContext::new(self.io_service.channel(), 0); //TODO: take token id from host let io = IoContext::new(self.io_service.channel(), 0); //TODO: take token id from host
try!(host.stop(&io)); try!(host.stop(&io));
} }