8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2afd37 commit fc1a8d3Copy full SHA for fc1a8d3
src/profile-logic/tracks.js
@@ -192,6 +192,8 @@ function _getDefaultGlobalTrackOrder(
192
193
// This is the case where both of the tracks are processes. Let's sort them
194
// by activity while keeping the parent process at the top.
195
+ // mainThreadIndex might be null in case the GeckoMain thread is not
196
+ // profiled in a profile.
197
const activityA =
198
trackA.mainThreadIndex !== null
199
? threadActivityScores[trackA.mainThreadIndex]
0 commit comments