Crash bug fix (don't access NULL pointer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4ed696943f
commit
43f51d80f5
@ -110,6 +110,7 @@ void wxCheckForFinishedChildren()
|
|||||||
// Map empty, delete it.
|
// Map empty, delete it.
|
||||||
delete gs_procmap;
|
delete gs_procmap;
|
||||||
gs_procmap = NULL;
|
gs_procmap = NULL;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
for (it = gs_procmap->begin();it != gs_procmap->end(); ++it)
|
for (it = gs_procmap->begin();it != gs_procmap->end(); ++it)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user