Compare commits
1
Commits
v0.5.1
..
1576d8a38b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1576d8a38b |
@@ -32,9 +32,8 @@ public final class ThreadMod extends Mod
|
||||
public void onServerStarted()
|
||||
{
|
||||
this.modThread().execute(() -> {
|
||||
// Hand-off before the log entry: tests that see the entry know the task is queued.
|
||||
this.main().execute(() -> this.log.add("result on " + Thread.currentThread().getName()));
|
||||
this.log.add("work on " + Thread.currentThread().getName());
|
||||
this.main().execute(() -> this.log.add("result on " + Thread.currentThread().getName()));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user