Fix empty Revent queue error