[ORC] Add TaskDispatcher::shutdown calls to TaskDispatchTest.cpp unit tests.
authorLang Hames <lhames@gmail.com>
Mon, 11 Oct 2021 04:09:29 +0000 (21:09 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 11 Oct 2021 04:09:29 +0000 (21:09 -0700)
commitc59ebe4c4c2d125a8a0b788f5af5d4d052d38818
tree749787d3c726d3e4d785516a7ad4626d095dad8e
parent4d7cea3d2e833209d06e201a273f97342035c196
[ORC] Add TaskDispatcher::shutdown calls to TaskDispatchTest.cpp unit tests.

These calls were left out of 4d7cea3d2e8. In the InPlaceDispatcher test case
the operation is a no-op, but it's good form to include it. In the
DynamicThreadPoolTaskDispatcher test the shutdown call is required to ensure
that we don't exit the test (and tear down the dispatcher) before the thread
running the dispatch has completed.
llvm/unittests/ExecutionEngine/Orc/TaskDispatchTest.cpp