Null pointer fix
This commit is contained in:
parent
142be61a9c
commit
80f497f954
|
@ -31,7 +31,9 @@ class EventDispatch {
|
||||||
*/
|
*/
|
||||||
public static synchronized
|
public static synchronized
|
||||||
void shutdown() {
|
void shutdown() {
|
||||||
|
if (eventDispatchExecutor != null) {
|
||||||
eventDispatchExecutor.shutdownNow();
|
eventDispatchExecutor.shutdownNow();
|
||||||
eventDispatchExecutor = null;
|
eventDispatchExecutor = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user