parent
14cba9723f
commit
572ba8984a
|
@ -268,7 +268,7 @@ public:
|
||||||
{
|
{
|
||||||
// Horrific hack, but it's a crash bug. Don't let inter-frame commands stack up
|
// Horrific hack, but it's a crash bug. Don't let inter-frame commands stack up
|
||||||
// waiting to be processed.
|
// waiting to be processed.
|
||||||
if( aEvent.IsSimulator() && m_eventQueue.back().IsSimulator() )
|
if( aEvent.IsSimulator() && m_eventQueue.size() > 0 && m_eventQueue.back().IsSimulator() )
|
||||||
m_eventQueue.pop_back();
|
m_eventQueue.pop_back();
|
||||||
|
|
||||||
m_eventQueue.push_back( aEvent );
|
m_eventQueue.push_back( aEvent );
|
||||||
|
|
Loading…
Reference in New Issue