mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-01 14:07:43 +01:00
Unnecessary fences
This commit is contained in:
parent
daf83a25d1
commit
a689691873
@ -343,7 +343,6 @@ non-sealed class EventNodeImpl<T extends Event> implements EventNode<T> {
|
||||
final Consumer<E> listener = createConsumer();
|
||||
this.listener = listener;
|
||||
this.updated = true;
|
||||
VarHandle.releaseFence();
|
||||
return listener;
|
||||
}
|
||||
}
|
||||
|
@ -28,7 +28,6 @@ public final class LazyPacket implements SendablePacket {
|
||||
packet = this.packet;
|
||||
if (packet == null) {
|
||||
this.packet = packet = packetSupplier.get();
|
||||
VarHandle.releaseFence();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user