mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
DNS: cleanup
This commit is contained in:
parent
1b770c89eb
commit
706ce8ba48
1 changed files with 11 additions and 6 deletions
|
@ -673,12 +673,17 @@ public class DnsHelper {
|
|||
ex = new IOException("interrupted");
|
||||
}
|
||||
|
||||
if (ex == null) {
|
||||
Log.i("DNS Android answer=" + result);
|
||||
return result;
|
||||
} else {
|
||||
Log.i(ex);
|
||||
throw ex;
|
||||
try {
|
||||
if (ex == null) {
|
||||
Log.i("DNS Android answer=" + result);
|
||||
return result;
|
||||
} else {
|
||||
Log.i(ex);
|
||||
throw ex;
|
||||
}
|
||||
} finally {
|
||||
ex = null;
|
||||
result = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue