]> khamidou — GitHub mirrors - electron.git/commit
Fix race condition when initializing request context getter.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 20 Feb 2014 16:56:18 +0000 (00:56 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 20 Feb 2014 16:56:18 +0000 (00:56 +0800)
commit3576c6d2ffa5622d8d596caedd1805582966190a
tree6d5f34e647479a78dc88456ddafbd4d87ffbf29c
parentb4ee01d43dad172053cdb71525fb91b09bd32cec
Fix race condition when initializing request context getter.

Note that we are calling GetURLRequestContext() in the UI thread when
using the protocol module, this should in fact not be allowed, but for
now we just use the workaround of making sure the request context getter
has been initialized before we use the protocol module.
browser/net/atom_url_request_context_getter.cc
browser/net/atom_url_request_context_getter.h