diff options
Diffstat (limited to 'src/com/jogamp/opencl/CLBuffer.java')
-rw-r--r-- | src/com/jogamp/opencl/CLBuffer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLBuffer.java b/src/com/jogamp/opencl/CLBuffer.java index 03e07477..d4e0d003 100644 --- a/src/com/jogamp/opencl/CLBuffer.java +++ b/src/com/jogamp/opencl/CLBuffer.java @@ -127,7 +127,7 @@ public class CLBuffer<B extends Buffer> extends CLMemory<B> { } @Override - public void release() { + public synchronized void release() { if(childs != null) { while(!childs.isEmpty()) { childs.get(0).release(); |