You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recent fix for sharing handlers and locks among Logger objects broke basic_config(). A copy must be made somewhere of each handler passed in to avoid dangling pointers and or memory leaks.
A fix might look something like:
handler_map => this%elements%get_handlers()
i =1if (present(handlers)) then
iter = handlers%begin()
dowhile (iter /= handlers%end())
h => iter%get()
write(name,'"handler_",(i3.3)') i
call handler_map%insert(name, h)
h => handler_map%at(name)
call this%root_node%add_handler(h)
i = i +1call iter%next
end doend if
The text was updated successfully, but these errors were encountered:
The recent fix for sharing handlers and locks among Logger objects broke
basic_config()
. A copy must be made somewhere of each handler passed in to avoid dangling pointers and or memory leaks.A fix might look something like:
The text was updated successfully, but these errors were encountered: