Skip to content

Commit ef1a239

Browse files
robambaluCarreau
authored andcommitted
Merge pull request Point72#195 from Point72/bugfix/push_pull_ooo_patch
PushPullInputAdapter - fix to previous patch that fixed out of order …
2 parents 3ca95b3 + f11b8fc commit ef1a239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/csp/engine/PushPullInputAdapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ PushPullInputAdapter::PullDataEvent * PushPullInputAdapter::nextPullEvent()
8181
auto * event = m_poppedPullEvents.front();
8282
m_poppedPullEvents.pop();
8383

84-
if( m_adjustOutOfOrderTime )
84+
if( m_adjustOutOfOrderTime && event )
8585
event -> time = std::max( event -> time, rootEngine() -> now() );
8686

8787
return event;

0 commit comments

Comments
 (0)