Skip to content

Commit

Permalink
Added more optimizations...
Browse files Browse the repository at this point in the history
  • Loading branch information
RealMangorage committed Aug 1, 2024
1 parent c0e34ac commit 429fbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/mangorage/eventbus/EventBus.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public <E extends Event> void post(E event) {
genericType = genericEvent.getGenericType();

ListenerList<E> list = (ListenerList<E>) getListenerList(event.getClass(), genericType);
list.post(event);
if (list != null) list.post(event);
}

/**
Expand Down

0 comments on commit 429fbbd

Please sign in to comment.