Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: fix shutdown libevent crash (#527)
Description: #498 did not fully solve #492. The reset cleanly destructed all objects. However, because destruction was posted in to the event dispatcher, the event dispatcher was left with bad accesses. This PR fixes the issue by issuing shutdown on the dispatcher, and only destructing once the event loop has exited and control has returned to the Engine's run function. Risk Level: med - fixing crash on shutdown Testing: local Fixes #492 Signed-off-by: Jose Nino <[email protected]> Signed-off-by: JP Simard <[email protected]>
- Loading branch information