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