added volatile
This commit is contained in:
parent
2136dc4484
commit
449f83f4a6
@ -29,7 +29,7 @@ public class LWJGLBufferAllocator implements BufferAllocator {
|
|||||||
/**
|
/**
|
||||||
* The address of LWJGL byte buffer.
|
* The address of LWJGL byte buffer.
|
||||||
*/
|
*/
|
||||||
private Long address;
|
private volatile Long address;
|
||||||
|
|
||||||
public Deallocator(final ByteBuffer referent, final ReferenceQueue<? super ByteBuffer> queue,
|
public Deallocator(final ByteBuffer referent, final ReferenceQueue<? super ByteBuffer> queue,
|
||||||
final Long address) {
|
final Long address) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user