9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-19 15:09:25 +00:00

Revert "don't use the result when hasn't set waker"

This reverts commit 3e50c4fa8c.
This commit is contained in:
hayanesuru
2025-05-28 11:02:45 +09:00
parent 42a2c8d2f6
commit 2ed7bde9fc

View File

@@ -11,9 +11,6 @@ public class Waker {
public boolean state = true;
public final @Nullable Object result() {
if (state) {
return null;
}
Object result = this.result;
this.result = null;
return result;