issue #2087: [dispatcher] Removing unused codes.
issue #2087: [dispatcher] Removing HANDLE_PRIORITY.
issue #2087: [dispatcher] Fixing BugTest/Bug422 crashes.
Merge pull request #3647 from dumganhar/bug422-fix

issue #2087: [dispatcher] Fixing BugTest/Bug422 crashes.[ci skip]