From bd5736414ad0e60507bc0d823e9ff1e934912bf8 Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Sat, 25 Apr 2015 13:15:10 -0700 Subject: [PATCH] [ReactNative] Fix error when reload during profile --- React/Executors/RCTContextExecutor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Executors/RCTContextExecutor.m b/React/Executors/RCTContextExecutor.m index 8f931d96a..48d371b7e 100644 --- a/React/Executors/RCTContextExecutor.m +++ b/React/Executors/RCTContextExecutor.m @@ -302,7 +302,7 @@ static NSError *RCTNSErrorFromJSError(JSContextRef context, JSValueRef jsError) } onComplete(error); } - }), @"js_call", (@{ @"url": sourceURL }))]; + }), @"js_call", (@{ @"url": sourceURL.absoluteString }))]; } - (void)executeBlockOnJavaScriptQueue:(dispatch_block_t)block