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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user