Removed info
This commit is contained in:
parent
c340d8a34f
commit
fc60ed92e6
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user