BackgroundWorker.stop_instance_by_component

classmethod BackgroundWorker.stop_instance_by_component(ghenv)[source]

Stops the worker instance assigned to the component.

If there is no worker running, it will do nothing.

Parameters:
ghenvGhPython.Component.PythonEnvironment

Grasshopper environment object