Unverified Commit a76750b4 authored by Ruben Bridgewater's avatar Ruben Bridgewater
Browse files

events: simplify stack compare function

This simplifies the `longestSeqContainedIn()` logic by checking for
the first identical occurance of at least three frames instead of
the longest one.
It also removes an unused argument.

PR-URL: https://github.com/nodejs/node/pull/24744


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent 35a89069
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment