mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Fixed issue with reloading bundle from remote debugger
Summary: This is a follow up to D8316215. That diff had a flaw in that once appExecuted was set to true it would never be reset back to false. This fixes that so if another bundle is loaded after the first one it will work. Reviewed By: rafeca Differential Revision: D8661523 fbshipit-source-id: 5f6024102248383f64952fd33b37368732d5f900
This commit is contained in:
parent
1535ecfa54
commit
578b0b2a51
@ -179,6 +179,7 @@
|
||||
shutdownJSRuntime();
|
||||
Page.setState({status: {type: 'disconnected'}});
|
||||
} else if (object.method === 'executeApplicationScript') {
|
||||
appExecuted = false;
|
||||
worker.postMessage({
|
||||
...object,
|
||||
url: await getBlobUrl(object.url),
|
||||
|
Loading…
x
Reference in New Issue
Block a user