resolve closer stuff

This commit is contained in:
idk 2018-12-25 05:30:42 -05:00
parent dfdb288f56
commit c91af60622
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
2 changed files with 8 additions and 8 deletions

View file

@ -77,12 +77,12 @@ func (c Conn) Keys() (sam3.I2PKeys, error) {
}
func (m Conn) Cleanup() error {
//if err := m.SAMConn.Close(); err != nil {
//return err
//}
//if err := m.StreamSession.Close(); err != nil {
//return err
//}
if err := m.SAMConn.Close(); err != nil {
return err
}
if err := m.StreamSession.Close(); err != nil {
return err
}
return nil
}