diff --git a/jme3-core/src/main/java/com/jme3/opencl/OpenCLObjectManager.java b/jme3-core/src/main/java/com/jme3/opencl/OpenCLObjectManager.java index ec8276db3..e664c90c2 100644 --- a/jme3-core/src/main/java/com/jme3/opencl/OpenCLObjectManager.java +++ b/jme3-core/src/main/java/com/jme3/opencl/OpenCLObjectManager.java @@ -75,7 +75,7 @@ public class OpenCLObjectManager { private void deleteObject(OpenCLObjectRef ref) { LOG.log(LOG_LEVEL1, "deleting OpenCL object by: {0}", ref.releaser); ref.releaser.release(); - ref.clear(); + ref.clear(); activeObjects.remove(ref); } @@ -104,7 +104,7 @@ public class OpenCLObjectManager { for (OpenCLObjectRef ref : activeObjects) { LOG.log(LOG_LEVEL1, "deleting OpenCL object by: {0}", ref.releaser); ref.releaser.release(); - ref.clear(); + ref.clear(); } activeObjects.clear(); }