src/vs/platform/quickinput/common/quickAccess.ts/QuickAccessRegistry/clear
class QuickAccessRegistry:	clear(): Function {
		const providers = [...this.providers];
		const defaultProvider = this.defaultProvider;

		this.providers = [];
		this.defaultProvider = undefined;

		return () => {
			this.providers = providers;
			this.defaultProvider = defaultProvider;
		};
	}