Skip to content

Commit 539fae3

Browse files
committed
Fix formatting
1 parent 194ad29 commit 539fae3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

core/src/main/java/io/netty/loom/EventLoopScheduler.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,12 @@ private static ThreadFactory newEventLoopSchedulerFactory(SharedRef sharedRef) {
9494
// enabling
9595
// work-stealing to change it for both
9696
var unstartedBuilder = Thread.ofVirtual();
97-
// we're not enforcing a preferred carrier on purpose, despite we could - to prevent leaks to happen:
98-
// once this scheduler is gone, but a virtual thread is still to complete, we would like to offload it
99-
// to the default scheduler rather than trying to reuse this scheduler's carrier thread
97+
// we're not enforcing a preferred carrier on purpose, despite we could - to
98+
// prevent leaks to happen:
99+
// once this scheduler is gone, but a virtual thread is still to complete, we
100+
// would like to offload it
101+
// to the default scheduler rather than trying to reuse this scheduler's carrier
102+
// thread
100103
return runnable -> unstartedBuilder.unstarted(() -> runWithContext(runnable, sharedRef), null, sharedRef);
101104
}
102105

0 commit comments

Comments
 (0)