From 665360816113d9515d51d0d8da4f75ef572a2427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marti=CC=81n=20Dias?= Date: Wed, 13 Apr 2022 02:43:31 -0400 Subject: [PATCH] Previous commit only worked on P10 but not in P9 --- TaskItDebugger/TKTRawProcess.class.st | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TaskItDebugger/TKTRawProcess.class.st b/TaskItDebugger/TKTRawProcess.class.st index 0338076..41d467b 100644 --- a/TaskItDebugger/TKTRawProcess.class.st +++ b/TaskItDebugger/TKTRawProcess.class.st @@ -53,7 +53,11 @@ TKTRawProcess >> isTerminated [ ^suspendedContext isNil or: [ suspendedContext isDead or: [ - (suspendedContext method == (Process >> #endProcess))]] + Process + compiledMethodAt: #endProcess + ifPresent: [ :m | suspendedContext method == m ] + ifAbsent: [ false ] ]] + ] { #category : #accessing }