laptop and a wrench

Bug

Locks on a feature layer are not released despite explicitly deleting the Result object in a script tool.

ArcGIS Pro
Bug ID Number BUG-000178530
SubmittedAugust 6, 2025
Last ModifiedAugust 31, 2025
Applies toArcGIS Pro
Version found3.5
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

There is no lock being left on the layer that is preventing it from rendering until the tool is done running. This is expected behavior from geoprocessing tools, as the geoprocessing framework runs in isolation and will update the map and layers upon completion of the tool. The framework only knows what layers to update or add to the map from a script tool if they are included in the parameters as output. It is best practice to include layers that need to be updated as output parameters in the script tool.

Steps to Reproduce

Bug ID: BUG-000178530

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options