Skip to content

Commit db45b69

Browse files
committed
Add safe removal of breakpoints
1 parent 02642c4 commit db45b69

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/ExecutableRequirements/NeoExReqInstrumentationBuilder.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ NeoExReqInstrumentationBuilder >> uninstallAllStepReports [
154154
tracingPoints := self preconditionTracingPoints values
155155
, self postconditionTracingPoints values.
156156

157-
tracingPoints do: [ :each | each uninstall ].
158157
self methodProxies valuesDo: [ :each | each uninstall ].
158+
tracingPoints do: [ :each | each uninstall ].
159159
self preconditionTracingPoints removeAll.
160160
self postconditionTracingPoints removeAll.
161161
self methodProxies removeAll

src/ExecutableRequirements/NeoExReqTracingPoint.class.st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ NeoExReqTracingPoint >> type [
6464

6565
{ #category : 'initialization' }
6666
NeoExReqTracingPoint >> uninstall [
67-
self remove.
67+
68+
thisProcess runInMetaLevel: [ self remove ]
6869
]
6970

7071
{ #category : 'as yet unclassified' }

0 commit comments

Comments
 (0)