mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
remove_tool_by_id runs under app._toolbox_lock, but the invalidation path (queue-worker reload_tool_source_cache handler — and every populate broadcasts one) reloaded the index and re-registered stubs without it. Interleaved with an uninstall, that reloads the pre-removal index and re-registers the just-removed tool. Take the same RLock.