Fixed a bug in threadpsx.cpp (wxBaseArray bug).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -858,7 +858,9 @@ void wxThreadModule::OnExit()
|
|||||||
|
|
||||||
for ( size_t n = 0u; n < count; n++ )
|
for ( size_t n = 0u; n < count; n++ )
|
||||||
{
|
{
|
||||||
gs_allThreads[n]->Delete();
|
// Delete calls the destructor which removes the current entry. We
|
||||||
|
// should only delete the first one each time.
|
||||||
|
gs_allThreads[0]->Delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
// destroy GUI mutex
|
// destroy GUI mutex
|
||||||
|
Reference in New Issue
Block a user