Fixed threading issue in RCTImageLoader
Fixed threading issue in RCTImageLoader

Summary: This will probably not fix the crash but the current implementation certenly is/was not thread-safe.

Reviewed By: javache

Differential Revision: D9977538

fbshipit-source-id: a9cac05c313ff51efefbd7c228a1160a3aa75b54

hoangpham95/react-native,javache/react-native,facebook/react-native,pandiaraj44/react-native,hammerandchisel/react-native,janicduplessis/react-native,hoangpham95/react-native,exponentjs/react-native,facebook/react-native,pandiaraj44/react-native,javache/react-native,hoangpham95/react-native,exponentjs/react-native,facebook/react-native,janicduplessis/react-native,hoangpham95/react-native,janicduplessis/react-native,janicduplessis/react-native,exponent/react-native,exponentjs/react-native,facebook/react-native,pandiaraj44/react-native,facebook/react-native,janicduplessis/react-native,myntra/react-native,hoangpham95/react-native,exponent/react-native,exponentjs/react-native,janicduplessis/react-native,hammerandchisel/react-native,exponent/react-native,facebook/react-native,facebook/react-native,exponentjs/react-native,exponent/react-native,pandiaraj44/react-native,myntra/react-native,javache/react-native,janicduplessis/react-native,myntra/react-native,exponentjs/react-native,javache/react-native,javache/react-native,myntra/react-native,exponent/react-native,myntra/react-native,javache/react-native,arthuralee/react-native,janicduplessis/react-native,exponentjs/react-native,javache/react-native,exponent/react-native,myntra/react-native,hoangpham95/react-native,arthuralee/react-native,hammerandchisel/react-native,hammerandchisel/react-native,pandiaraj44/react-native,exponent/react-native,javache/react-native,arthuralee/react-native,myntra/react-native,hammerandchisel/react-native,hoangpham95/react-native,exponent/react-native,pandiaraj44/react-native,hoangpham95/react-native,pandiaraj44/react-native,javache/react-native,arthuralee/react-native,arthuralee/react-native,facebook/react-native,pandiaraj44/react-native,hammerandchisel/react-native,facebook/react-native,hammerandchisel/react-native,hammerandchisel/react-native,myntra/react-native,exponentjs/react-native,myntra/react-native