[wesnoth-commits] [wesnoth/wesnoth] 89e0d7: Events: ensure the global event context is always ...

GitHub noreply at github.com
Sat Mar 24 16:38:16 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 89e0d7e2aede862298389b53f7248c0f46ce1704
      https://github.com/wesnoth/wesnoth/commit/89e0d7e2aede862298389b53f7248c0f46ce1704
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-25 (Sun, 25 Mar 2018)

  Changed paths:
    M src/events.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Events: ensure the global event context is always available

The Boost unit tests have been failing since I removed the GUI2 event context since the
code expects both that A: the topmost context is the global one and B: that you can't
use join() to join the global context. Removing the UI event context meant the test's
fake_display event_context became the only (and global) context, causing an assert.




More information about the Commits mailing list