Files
textmate/Frameworks/ns
Allan Odgaard a6ecde745d Change how we run NSSpellChecker code on the main thread
We only run uniqueSpellDocumentTag and closeSpellDocumentWithTag: on the main thread, as the spelling methods themselves should be thread safe and do not cause any tests to fail (even when running them in parallel).

The way we check if we must “jump” to main thread is done by looking at our current run loop rather than using the deprecated (as of 10.9) dispatch_get_current_queue() function. Since we are looking at the run loop, we now use CFRunLoopPerformBlock() instead of the dispatch functions.
2016-07-10 17:49:43 +02:00
..
2013-08-01 19:03:31 +02:00