From 4aabd75defc50e08e304b916b17a7e98cd68c3c2 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Tue, 15 Mar 2022 17:27:37 +0530 Subject: [PATCH] fix: stop telemetry on db change --- src/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.vue b/src/App.vue index c047601a..f9aa0400 100644 --- a/src/App.vue +++ b/src/App.vue @@ -47,6 +47,7 @@ import DatabaseSelector from './pages/DatabaseSelector'; import Desk from './pages/Desk'; import SetupWizard from './pages/SetupWizard/SetupWizard'; import './styles/index.css'; +import telemetry from './telemetry/telemetry'; import { checkForUpdates, routeTo } from './utils'; export default { @@ -131,6 +132,7 @@ export default { }, changeDbFile() { config.set('lastSelectedFilePath', null); + telemetry.stop() purgeCache(true); this.activeScreen = 'DatabaseSelector'; },