Ensure jit state is reset

master
Brad Cornes 2021-11-05 12:38:54 +00:00
parent 634b8c6fb1
commit 1557dfdabf
1 changed files with 3 additions and 0 deletions

View File

@ -879,6 +879,9 @@ async function createProjectService(
return [className, { color: getColor(state, className) }]
})
}
} else {
delete state.jitContext
delete state.classList
}
} catch (error) {
hook.unhook()