If we try to call 'js::SetRuntimeProfilingStack' before we have a JS runtime and before the JS engine is started and we crash. We start profiling on start up in mobile since we use an environment variable to start.
Simple fix is to delay profiling until we get a runtime.
Created attachment 640764 [details] [diff] [review]
Delay JS profiling until we have a runtime
Also use JS profiling by default on mobile.