mirror of https://github.com/python/cpython.git
in form_dealloc, only hide the form if it's visible
This commit is contained in:
parent
cf49ac55ac
commit
336b591e55
|
@ -1816,7 +1816,8 @@ form_dealloc(f)
|
|||
formobject *f;
|
||||
{
|
||||
releaseobjects(f->ob_form);
|
||||
fl_hide_form(f->ob_form);
|
||||
if (f->ob_form->visible)
|
||||
fl_hide_form(f->ob_form);
|
||||
fl_free_form(f->ob_form);
|
||||
DEL(f);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue