mirror of
https://github.com/electron/electron.git
synced 2026-01-27 08:18:28 -05:00
The class didn't save the V8 context for the spell checking JS function. When it later tried to call the JS function and there was no active context, V8 crashed. I also optimized the spell checking loop by introducing `SpellCheckScope` and reusing the V8 handles throughout the whole loop.