Commit 3136483
committed
Fix thread safe issue on vivo and Motorola Android 12
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at j$.util.concurrent.ConcurrentHashMap.get()
at j$.util.concurrent.ConcurrentHashMap.containsKey()
at org.simple.eventbus.EventBus$EventDispatcher.getMatchedEventTypes(EventBus.java:393)
at org.simple.eventbus.EventBus$EventDispatcher.deliveryEvent(EventBus.java:363)
at org.simple.eventbus.EventBus$EventDispatcher.dispatchEvents(EventBus.java:351)
at org.simple.eventbus.EventBus.post(EventBus.java:189)1 parent a7650b8 commit 3136483
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
374 | 377 | | |
375 | 378 | | |
376 | 379 | | |
| |||
0 commit comments