diff options
Diffstat (limited to 'src/com/jogamp/opencl/CLCommandQueue.java')
-rw-r--r-- | src/com/jogamp/opencl/CLCommandQueue.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLCommandQueue.java b/src/com/jogamp/opencl/CLCommandQueue.java index b1644cf2..016192c3 100644 --- a/src/com/jogamp/opencl/CLCommandQueue.java +++ b/src/com/jogamp/opencl/CLCommandQueue.java @@ -1796,7 +1796,7 @@ public class CLCommandQueue extends CLObjectResource { } @Override - public void release() { + public synchronized void release() { super.release(); int ret = cl.clReleaseCommandQueue(ID); context.onCommandQueueReleased(device, this); |