to add assert for allocate free input event in ioinject_thread.cpp