Add null check

This commit is contained in:
carbotaniuman 2020-06-14 21:24:57 -05:00
parent d033afa0be
commit 5d360ed244

View file

@ -209,7 +209,9 @@ public class MangaDexClient {
logoutAndStopServer();
}
webUi.close();
if (webUi != null) {
webUi.close();
}
try {
cache.close();
} catch (IOException e) {