Commit 3ca9dca
authored
Twitter dont block main on file ops (#7298)
* Remove sync wait on filesystem from main queue
On initialization, a promise is created that synchronously
waits on an NSOperationQueue with file ops in it. Re-work
this so that the promise is asynchronously fulfilled with
an operation that is inserted into the queue, and then
dispatched back to the main queue when finished.1 parent 199ef50 commit 3ca9dca
1 file changed
+12
-4
lines changedLines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
417 | 425 | | |
418 | 426 | | |
419 | 427 | | |
| |||
0 commit comments