Commit 5ab557ad authored by Patrick Sharp's avatar Patrick Sharp Committed by GitHub

Fixed dispose in

dispose() disposes of the jniContextHandle, however the seenBinaryKeys still reported that the handle is still available. This resulted in a kernel being unable to recompile after any of it's predecessors have been disposed. Clearing this set fixes this issue.
parent 6e882754
......@@ -190,6 +190,7 @@ public class KernelRunner extends KernelRunnerJNI{
public synchronized void dispose() {
if (kernel.isRunningCL()) {
// We are using a shared pool, so there's no need no shutdown it when kernel is disposed
// threadPool.shutdownNow();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment