mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 14:56:36 +03:00
Add a try catch for killApp in render.
This commit is contained in:
parent
40ffea6ce9
commit
b4dc540cc2
@ -188,8 +188,10 @@ function runElmApp(
|
||||
app.ports.sendPageData.subscribe(portHandler);
|
||||
}).finally(() => {
|
||||
addDataSourceWatcher(patternsToWatch);
|
||||
try {
|
||||
killApp();
|
||||
killApp = null;
|
||||
} catch (error) {}
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user