UAssetEditorSubsystem::CloseAllEditorsForAsset

Close all active editors for the supplied asset and return the number of asset editors that were closed