mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-21 16:09:19 +00:00
Revert "don't use the result when hasn't set waker"
This reverts commit 3e50c4fa8c.
This commit is contained in:
@@ -11,9 +11,6 @@ public class Waker {
|
|||||||
public boolean state = true;
|
public boolean state = true;
|
||||||
|
|
||||||
public final @Nullable Object result() {
|
public final @Nullable Object result() {
|
||||||
if (state) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
Object result = this.result;
|
Object result = this.result;
|
||||||
this.result = null;
|
this.result = null;
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user