Fix Various Bugs Associated with Profile Start Up / Restart #515
|
@ -374,7 +374,9 @@ func (e *engine) peerWithOnion(onion string) {
|
|||
return
|
||||
}
|
||||
log.Debugf("PeerWithOnion something went very wrong...%v %v", onion, err)
|
||||
conn.Close()
|
||||
if conn != nil {
|
||||
conn.Close()
|
||||
}
|
||||
e.ignoreOnShutdown(e.peerDisconnected)(onion)
|
||||
} else {
|
||||
log.Debugf("PeerWithOnion %v %v", onion, err)
|
||||
|
|
Loading…
Reference in New Issue