We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb08f75 commit 5ef35bdCopy full SHA for 5ef35bd
packages/app/src/sandbox/compile.js
@@ -582,6 +582,12 @@ async function compile({
582
583
hadError = true;
584
} finally {
585
+ try {
586
+ localStorage.removeItem('running');
587
+ } catch (e) {
588
+ /* no */
589
+ }
590
+
591
if (manager) {
592
const managerState = {
593
...manager.serialize(),
@@ -602,12 +608,6 @@ async function compile({
602
608
dispatch({ type: 'status', status: 'idle' });
603
609
dispatch({ type: 'done' });
604
610
605
- try {
606
- localStorage.removeItem('running');
607
- } catch (e) {
- /* no */
- }
-
611
if (typeof window.__puppeteer__ === 'function') {
612
window.__puppeteer__('done');
613
}
0 commit comments