first attempt to fix deadlock on Pirates launch

This commit is contained in:
David Rose 2010-02-18 02:14:53 +00:00
parent 60cbcbf78f
commit 430800a43e
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@ PPInstance::PPInstance( CP3DActiveXCtrl& parentCtrl ) :
m_pluginLoaded = false;
_failed = false;
// Ensure this event is initially in the "set" state, in case we
// never get a download request before we get a close request.
m_eventDownloadStopped.SetEvent( );
}
PPInstance::~PPInstance( )