void (Disposable disposable) { ourBuiltinBundlesDisabled = true; TextMateService.getInstance().reloadEnabledBundles(); myInitialized = true; Disposer.register(disposable, () -> { ourBuiltinBundlesDisabled = false; unregisterAllBundles(); myInitialized = false; }); }