mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
Removed the wrong double stack issue.
This commit is contained in:
parent
1c0dc233a9
commit
eeb734c655
@ -112,8 +112,11 @@
|
|||||||
var findme = callers.shift(); // Remove us from the stack
|
var findme = callers.shift(); // Remove us from the stack
|
||||||
findme = findme.replace(/(:[0-9]+){1,2}$/, ""); // rm line & column
|
findme = findme.replace(/(:[0-9]+){1,2}$/, ""); // rm line & column
|
||||||
// Eliminate squashed stack. stack may contain 2+ stacks, but why...
|
// Eliminate squashed stack. stack may contain 2+ stacks, but why...
|
||||||
|
var inDoubleStack = false;
|
||||||
callers = callers.filter(function(caller){
|
callers = callers.filter(function(caller){
|
||||||
return caller.search(findme) === -1;
|
var doubleStackStart = caller.search(findme) !== -1;
|
||||||
|
inDoubleStack = inDoubleStack || doubleStackStart;
|
||||||
|
return !inDoubleStack;
|
||||||
});
|
});
|
||||||
msg += "\n\n" + _("sourceOutput") + ": ";
|
msg += "\n\n" + _("sourceOutput") + ": ";
|
||||||
if (settings.showCompleteCallingStack){
|
if (settings.showCompleteCallingStack){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user