File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/thread Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -688,11 +688,11 @@ private static class DetachAllExternallyStartedThreadsExceptCurrentOperation ext
688
688
689
689
@ Override
690
690
protected void operate () {
691
- IsolateThread currentThread = CurrentIsolate .getCurrentThread ();
691
+ IsolateThread operationThread = CurrentIsolate .getCurrentThread ();
692
692
IsolateThread thread = firstThread ();
693
693
while (thread .isNonNull ()) {
694
694
IsolateThread next = nextThread (thread );
695
- if (thread .notEqual (currentThread ) && !wasStartedByCurrentIsolate (thread )) {
695
+ if (thread .notEqual (queuingThread ) && thread . notEqual ( operationThread ) && !wasStartedByCurrentIsolate (thread )) {
696
696
/*
697
697
* The code below is similar to VMThreads.detachCurrentThread() except that it
698
698
* doesn't call VMThreads.threadExit(). We assume that this is tolerable
You can’t perform that action at this time.
0 commit comments