Allow interrupted exception when shutting down
This commit is contained in:
parent
f9366fde83
commit
b0ee2ad240
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue