Quick answer: Godot 4 editor hanging on shutdown while importing textures? Import worker thread holds the project lock; editor blocks on it - wait for import completion before closing.
Quit editor with imports in flight. UI shows 'Quitting...' indefinitely; need to force-kill.
Wait for import
Editor > Import > Wait for Import Complete. Manual; safe.
Or close from CLI
godot --quit-immediatelyBypasses the wait. Risks data loss if midway; useful for stuck editors.
Pre-import before quit
Habit: trigger Reimport All; wait; quit. Imports done at known points.
“Importers don't expect to be interrupted. Quit during import is a race.”
If you have large asset imports, build a CI step that pre-imports. Editor opens with a clean state; shutdown deadlocks become rare.