[Commits] [wesnoth/wesnoth] 726f4b: log/windows: Don't call logging facilities during ...

GitHub noreply at github.com
Fri Mar 4 05:01:38 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 726f4b477d3f2ad4ce65075d519dfe7fd9810929
      https://github.com/wesnoth/wesnoth/commit/726f4b477d3f2ad4ce65075d519dfe7fd9810929
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2016-03-04 (Fri, 04 Mar 2016)

  Changed paths:
    M src/log_windows.cpp

  Log Message:
  -----------
  log/windows: Don't call logging facilities during static var destruction

This is UB and a sure recipe for disaster if log.o's variables are
destructed first. The message is superfluous and not actually intended
to be displayed in normal use (hence debug level), so let's just not
poke dead men walking.





More information about the Commits mailing list