'EventDispatcherTest/Issue 4129' crashes on Windows.
Merge pull request #5575 from dumganhar/iss4286-event-crash

closed #4286: 'EventDispatcherTest/Issue 4129' crashes on Windows.