mirror of https://github.com/PCSX2/pcsx2.git
Fix for random crashes when using F4 (framelimit toggler).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2921 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
80cfbba7b7
commit
a68c7b2d45
|
@ -296,12 +296,12 @@ protected:
|
|||
|
||||
void _post_and_wait( IScopedCoreThread& core )
|
||||
{
|
||||
ScopedLock lock( m_mtx_resume );
|
||||
|
||||
PostResult();
|
||||
|
||||
if( m_resume )
|
||||
{
|
||||
ScopedLock lock( m_mtx_resume );
|
||||
|
||||
// If the sender of the message requests a non-blocking resume, then we need
|
||||
// to deallocate the m_sync object, since the sender will likely leave scope and
|
||||
// invalidate it.
|
||||
|
|
Loading…
Reference in New Issue