Merge pull request #52416 from mbrlabs/fix-warning-spam

Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote
This commit is contained in:
Fabio Alessandrelli 2021-09-05 16:35:21 +02:00 committed by GitHub
commit f09ea4f0c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1197,6 +1197,7 @@ ScriptDebuggerRemote::ScriptDebuggerRemote() :
max_errors_per_second(GLOBAL_GET("network/limits/debugger_stdout/max_errors_per_second")),
max_warnings_per_second(GLOBAL_GET("network/limits/debugger_stdout/max_warnings_per_second")),
n_errors_dropped(0),
n_warnings_dropped(0),
max_cps(GLOBAL_GET("network/limits/debugger_stdout/max_chars_per_second")),
char_count(0),
err_count(0),