Skip to content

Commit d572aa2

Browse files
committed
fix: build core module
1 parent 24cc672 commit d572aa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/luminiadev/eventbus/core/EventBusImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class EventBusImpl implements EventBus {
3131
public EventBusImpl() {
3232
this(Executors.newCachedThreadPool(r -> {
3333
Thread thread = new Thread(r);
34-
thread.setName("EventBus-Async-" + thread.threadId());
34+
thread.setName("EventBus-Async-" + thread.getId());
3535
thread.setDaemon(true);
3636
return thread;
3737
}));

0 commit comments

Comments
 (0)