mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-30 14:13:38 +01:00
Allow interrupted exception when shutting down
This commit is contained in:
parent
1093da7657
commit
e16b642e0c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user