formatting, as always :(

fix-456
Sebastian Weiß 8 years ago
parent 28e4c9848f
commit 3a7dedeba0
  1. 4
      jme3-core/src/main/java/com/jme3/opencl/OpenCLObjectManager.java

@ -75,7 +75,7 @@ public class OpenCLObjectManager {
private void deleteObject(OpenCLObjectRef ref) { private void deleteObject(OpenCLObjectRef ref) {
LOG.log(LOG_LEVEL1, "deleting OpenCL object by: {0}", ref.releaser); LOG.log(LOG_LEVEL1, "deleting OpenCL object by: {0}", ref.releaser);
ref.releaser.release(); ref.releaser.release();
ref.clear(); ref.clear();
activeObjects.remove(ref); activeObjects.remove(ref);
} }
@ -104,7 +104,7 @@ public class OpenCLObjectManager {
for (OpenCLObjectRef ref : activeObjects) { for (OpenCLObjectRef ref : activeObjects) {
LOG.log(LOG_LEVEL1, "deleting OpenCL object by: {0}", ref.releaser); LOG.log(LOG_LEVEL1, "deleting OpenCL object by: {0}", ref.releaser);
ref.releaser.release(); ref.releaser.release();
ref.clear(); ref.clear();
} }
activeObjects.clear(); activeObjects.clear();
} }

Loading…
Cancel
Save