Skip to content

Commit

Permalink
Merge pull request #353 from NordicSemiconductor/fix/notify-intermedi…
Browse files Browse the repository at this point in the history
…ate-packets

Notify about packets before stopping trace
  • Loading branch information
aadnekar authored Jun 15, 2023
2 parents c5a1daa + 3b2a1c9 commit 0473d66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/tracing/nrfml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ export const readRawTrace =
logger.info(`Completed reading trace from ${sourceFile}`);
}
setLoading(false);
notifyListeners(packets.splice(0, packets.length));
setTimeout(() => tracePacketEvents.emit('stop-process'), 1000);
},
() => {},
Expand Down

0 comments on commit 0473d66

Please sign in to comment.