chore: remove the manual release lock

This commit is contained in:
huzibaca 2024-09-30 23:07:46 +08:00
parent 709ab3dd88
commit 3cbcd4630c
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -160,14 +160,10 @@ impl Sysopt {
)
};
if pac && (cur_autoproxy.is_none() || old_autoproxy.is_none()) {
drop(cur_autoproxy);
drop(old_autoproxy);
return self.init_sysproxy();
}
if !pac && (cur_sysproxy.is_none() || old_sysproxy.is_none()) {
drop(cur_sysproxy);
drop(old_sysproxy);
return self.init_sysproxy();
}