()
| 77 | } |
| 78 | |
| 79 | const shutdownJSRuntime = () => { |
| 80 | const { setDebuggerWorker } = actions |
| 81 | scriptExecuted = false |
| 82 | if (worker) { |
| 83 | worker.terminate() |
| 84 | window.removeEventListener('message', onWindowMessage) |
| 85 | setDevMenuMethods([]) |
| 86 | } |
| 87 | worker = null |
| 88 | setDebuggerWorker(null, 'disconnected') |
| 89 | } |
| 90 | |
| 91 | const isScriptBuildForAndroid = (url) => url && (url.indexOf('.android.bundle') > -1 || url.indexOf('platform=android') > -1) |
| 92 |
no test coverage detected