I'm having an issue with schema locks remaining in a geodatabase. I'm using ArcMap 10.5.0 (not sure if that matters).
I'm importing data from an SDE to a GDB (file), adding to a topology, validating, then exporting the errors. When I go to delete the GDB (it's only needed for the validating process) I get an error message saying failed to delete dataset. I looked into it and the GDB is holding on to the schema locks for the Dirty Areas, Line Erorrs, Point Errors and Poly Errors.
None of the data remains in the data frame, and the only way for these locks to clear is to shut down ArcMap, which is not an acceptable step in the workflow.
Has anyone else experienced this?
Is there a way to remedy this?