Skip to content

Make components always unsuppress event recordings at end of their run #485

Closed
@IsakNaslundBh

Description

@IsakNaslundBh

Description:

Slight risk of the introduction of event suppression in BHoM/BHoM_Engine#3286 is that it is global, and if anything happens that means that the call to StopSuppressRecordingEvents is not reached for whatever reason (pre-mature return/exception/something else) that will mean that the warning system is supressed for all other components running in a script.

As a safety mechanism, we could add in a call to StopSuppressRecordingEvents as a final step to be called from the run method in the BHoM_UI to ensure that the warning system is always on for subsequent components.

Metadata

Metadata

Labels

type:featureNew capability or enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions