aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2014-07-02 09:15:16 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2014-07-02 09:15:16 +1000
commit4eb78753a6004ef84a41a20ce377bdbc00fccc5f (patch)
treef484f6d065eea8ea3d0f9ff511627644b77a4fe3 /src/components/script/dom/xmlhttprequest.rs
parent21e4d85511ffb928d0cab00b221413d54864afa5 (diff)
downloadservo-4eb78753a6004ef84a41a20ce377bdbc00fccc5f.tar.gz
servo-4eb78753a6004ef84a41a20ce377bdbc00fccc5f.zip
Run render task on OS thread to avoid Skia memory corruption.
When Skia is running on a green task, it can sometimes be rescheduled onto a different OS thread. This creates problems with the memory pool implementation in Skia, which uses TLS for storing the per thread memory pool information. Free'ing a pool allocation from a different OS thread than it was allocated on can cause heap corruption. FIXME: When we update rustc, switch the task failure message to using the new NativeTaskBuilder interface so that it can use the same send_on_failure function as green tasks.
Diffstat (limited to 'src/components/script/dom/xmlhttprequest.rs')
0 files changed, 0 insertions, 0 deletions