diff --git a/src/wlserver.cpp b/src/wlserver.cpp index a2e1985c3..12f743f60 100644 --- a/src/wlserver.cpp +++ b/src/wlserver.cpp @@ -135,7 +135,7 @@ void GamescopeTimelinePoint::Release() static std::optional TimelinePointToEventFd( const std::optional& oPoint ) { - if (!oPoint) + if (!oPoint || !(oPoint->pTimeline) ) return std::nullopt; uint64_t uSignalledPoint = 0;