Browse Source

reset maxParallelWorkers when reseting all the options

Gildas 6 năm trước cách đây
mục cha
commit
94c6dbea42
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      extension/core/bg/config.js

+ 1 - 1
extension/core/bg/config.js

@@ -349,7 +349,7 @@ singlefile.extension.core.bg.config = (() => {
 		const allTabsData = await tabsData.get();
 		delete allTabsData.profileName;
 		await tabsData.set(allTabsData);
-		await browser.storage.local.remove(["profiles", "rules"]);
+		await browser.storage.local.remove(["profiles", "rules", "maxParallelWorkers"]);
 		await browser.storage.local.set({ profiles: { [DEFAULT_PROFILE_NAME]: DEFAULT_CONFIG }, rules: [] });
 	}