mirror of
https://github.com/textmate/textmate.git
synced 2026-01-15 01:38:02 -05:00
Using the NSSpellChecker API while main thread is blocked can result in this exception:
Dispatch Thread Soft Limit Reached: 64
(too many dispatch threads blocked in synchronous operations)
Therefor we disable spell checking when we are waiting (on main thread) for buffer refresh.
First noticed with macOS 10.12.