Allow interrupted exception when shutting down

This commit is contained in:
Mike Primm 2022-02-05 03:13:34 -06:00
parent 1093da7657
commit e16b642e0c

View File

@ -543,6 +543,8 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
delay = f.get(); delay = f.get();
} catch (CancellationException cx) { } catch (CancellationException cx) {
return null; return null;
} catch (InterruptedException cx) {
return null;
} catch (ExecutionException ex) { } catch (ExecutionException ex) {
Log.severe("Exception while fetching chunks: ", ex.getCause()); Log.severe("Exception while fetching chunks: ", ex.getCause());
return null; return null;