HomePhabricator

[MainLoop] Fix assertion failure

Authored by labath on Jul 17 2015, 3:08 AM.

Description

[MainLoop] Fix assertion failure

Upon connection termination the waitable handle of an IOObject gets reset to an invalid handle.
This caused a problem since we used the object->GetWaitableHandle as a key to the set of
registered events. The fix is to use something more immutable as a key: we make a copy of the
original waitable handle, instead of holding onto the IOObject.

llvm-svn: 242515

Details

Committed
labathJul 17 2015, 3:08 AM
Parents
rG65bc30634584: -Refactored ARMTargetInfo in order to use the API of TargetParser for…
Branches
Unknown
Tags
Unknown