diff --git a/src/libcamera/base/event_dispatcher_poll.cpp b/src/libcamera/base/event_dispatcher_poll.cpp index 52bfb34e..006e223f 100644 --- a/src/libcamera/base/event_dispatcher_poll.cpp +++ b/src/libcamera/base/event_dispatcher_poll.cpp @@ -244,9 +244,9 @@ void EventDispatcherPoll::processNotifiers(const std::vector &pol EventNotifier::Type type; short events; } events[] = { + { EventNotifier::Exception, POLLPRI }, { EventNotifier::Read, POLLIN }, { EventNotifier::Write, POLLOUT }, - { EventNotifier::Exception, POLLPRI }, }; processingEvents_ = true;