Add a try catch for killApp in render.

This commit is contained in:
Dillon Kearns 2022-03-31 09:06:17 -07:00
parent 40ffea6ce9
commit b4dc540cc2

View File

@ -188,8 +188,10 @@ function runElmApp(
app.ports.sendPageData.subscribe(portHandler);
}).finally(() => {
addDataSourceWatcher(patternsToWatch);
try {
killApp();
killApp = null;
} catch (error) {}
});
}
/**