aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-24 15:31:49 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-24 15:31:49 +0200
commit35a9ad0d787c4db0e22098025a410912bcb45854 (patch)
treee18d4c5757cd65f655e96c8a08475571a26cc79c /apps/workflowengine/js
parentbdfd2d92090f5b80254232aecab523f0aaf5e0fc (diff)
downloadnextcloud-server-35a9ad0d787c4db0e22098025a410912bcb45854.tar.gz
nextcloud-server-35a9ad0d787c4db0e22098025a410912bcb45854.zip
Unshift crash reports when they are loaded, to break the recusion
If, for whatever reason, during the loading of a crash reporter a new log entry is generated, then the lazy loading mechanism will be invoked *again* while it's already executed. This doesn't result in an endless recursion, but means that the crash reporters will be built and registered many times. This then means any further log entry will be logged x times instead of once. Unshift makes sure to take the class off the registration list right away, so another invokation of the same method won't try to do the same job. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/workflowengine/js')
0 files changed, 0 insertions, 0 deletions