Add null check
This commit is contained in:
parent
d033afa0be
commit
5d360ed244
|
@ -209,7 +209,9 @@ public class MangaDexClient {
|
||||||
|
|
||||||
logoutAndStopServer();
|
logoutAndStopServer();
|
||||||
}
|
}
|
||||||
|
if (webUi != null) {
|
||||||
webUi.close();
|
webUi.close();
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
cache.close();
|
cache.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Reference in a new issue