[Commits] [wesnoth/wesnoth] f17dcd: Game Events: removed assertion if weak event handl...
GitHub
noreply at github.com
Thu Nov 30 22:53:22 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f17dcd419537bcdc657c738abdef7cc274093f26
https://github.com/wesnoth/wesnoth/commit/f17dcd419537bcdc657c738abdef7cc274093f26
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-12-01 (Fri, 01 Dec 2017)
Changed paths:
M src/game_events/manager.cpp
Log Message:
-----------
Game Events: removed assertion if weak event handler ptr fails to lock (fixup 056d7ac8f88ca)
I kinda assumed this should never happen due to the cleanup stage, but it seems there are
still cases where it does. Since the code already checks that the lock is valid before
returning, this isn't apparently needed and just breaks things.
More information about the Commits
mailing list