This commit is contained in:
arm64v8a
2022-10-30 18:09:34 +09:00
parent 013920d99d
commit bb58e66593
4 changed files with 9 additions and 4 deletions

View File

@@ -363,7 +363,6 @@ namespace NekoRay::sub {
for (const auto &profile: in) {
profileManager->DeleteProfile(profile->id);
}
in = {};
}
}
@@ -378,6 +377,7 @@ namespace NekoRay::sub {
ProfileFilter::OnlyInSrc(out, in, only_out);
ProfileFilter::Common(in, out, update_del, false, true);
update_del += only_in;
if (dataStore->sub_clear) update_del = {};
for (const auto &ent: update_del) {
profileManager->DeleteProfile(ent->id);