360a361,367
>
> // The event queue won't be locked when calling drain since that's
> // not done from an event. Lock the event queue here to make sure
> // that scoped migrations continue to work if we need to
> // synchronize the thread context.
> std::lock_guard<EventQueue> lock(*this->eventQueue());
>