summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-01-31 11:10:34 +0000
committer smf- <smf-@users.noreply.github.com>2018-01-31 11:11:16 +0000
commit80ee327f08357b39b68431f32eb24fbe00a48214 (patch)
treeb5c915ff6fea2cbe664fc772b5e3f4bc091b3235
parentf891bfc4bcffcd277f3dae0b96da69bb0eff93f4 (diff)
disable netlist statistic logging on shutdown, because it triggers a use after free in void device_debug::errorlog_write_line(const char *line) & fixed the copy & pasted comment. (nw)
-rw-r--r--src/lib/netlist/solver/nld_solver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/solver/nld_solver.h b/src/lib/netlist/solver/nld_solver.h
index 2642126e7a2..986d14f401a 100644
--- a/src/lib/netlist/solver/nld_solver.h
+++ b/src/lib/netlist/solver/nld_solver.h
@@ -55,7 +55,7 @@ NETLIB_OBJECT(solver)
, m_dynamic_lte(*this, "DYNAMIC_LTE", 1e-5) // diff/timestep
, m_dynamic_min_ts(*this, "DYNAMIC_MIN_TIMESTEP", 1e-6) // nl_double timestep resolution
- , m_log_stats(*this, "LOG_STATS", 1) // nl_double timestep resolution
+ , m_log_stats(*this, "LOG_STATS", 0) // log statistics on shutdown
, m_params()
{
// internal staff