Merge pull request #11941 from Dentomologist/convert_blockingloop_stopmode_to_enum_class Common: Convert BlockingLoop::StopMode to enum class