Fix missed stabilization of removal of registry entry during Python uninstall (#14859)
Funny enough, I caught this via https://github.com/astral-sh/uv/pull/14823
This commit is contained in:
@@ -112,13 +112,11 @@ async fn do_uninstall(
|
||||
}
|
||||
if !found {
|
||||
// Clear any remnants in the registry
|
||||
if preview.is_enabled() {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
uv_python::windows_registry::remove_orphan_registry_entries(
|
||||
&installed_installations,
|
||||
);
|
||||
}
|
||||
#[cfg(windows)]
|
||||
{
|
||||
uv_python::windows_registry::remove_orphan_registry_entries(
|
||||
&installed_installations,
|
||||
);
|
||||
}
|
||||
|
||||
if matches!(requests.as_slice(), [PythonRequest::Default]) {
|
||||
|
||||
Reference in New Issue
Block a user