Potential fix for recursive error crash.
Fixes https://gitlab.com/kicad/code/kicad/issues/6471
This commit is contained in:
parent
da0d89645f
commit
dbc7831d0c
|
@ -103,7 +103,7 @@ void FOOTPRINT_LIST::DisplayErrors( wxTopLevelWindow* aWindow )
|
||||||
|
|
||||||
wxString msg;
|
wxString msg;
|
||||||
|
|
||||||
while( const std::unique_ptr<IO_ERROR>& error = PopError() )
|
while( std::unique_ptr<IO_ERROR> error = PopError() )
|
||||||
{
|
{
|
||||||
wxString tmp = error->Problem();
|
wxString tmp = error->Problem();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue