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