Game Events: removed assertion if weak event handler ptr fails to lock (fixup 056d7ac8f8
)
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.
This commit is contained in:
parent
6cd2a9b7cd
commit
f17dcd4195
1 changed files with 0 additions and 2 deletions
|
@ -144,8 +144,6 @@ static handler_ptr lock_ptr(const handler_list& list, handler_list::iterator ite
|
|||
if(iter != list.end()) {
|
||||
if(handler_ptr ptr = iter->lock()) {
|
||||
return ptr;
|
||||
} else {
|
||||
assert(false && "Found null handler in handler list!");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue