mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
doc: Fix outdated dev comment about logging
This commit is contained in:
parent
2f6dca4d1c
commit
fafb7875e1
1 changed files with 1 additions and 1 deletions
|
|
@ -839,7 +839,7 @@ std::set<BlockFilterType> g_enabled_filter_types;
|
|||
{
|
||||
// Rather than throwing std::bad-alloc if allocation fails, terminate
|
||||
// immediately to (try to) avoid chain corruption.
|
||||
// Since LogPrintf may itself allocate memory, set the handler directly
|
||||
// Since logging may itself allocate memory, set the handler directly
|
||||
// to terminate first.
|
||||
std::set_new_handler(std::terminate);
|
||||
LogError("Out of memory. Terminating.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue