Shutdown safety (KICAD-N5Y).

(cherry picked from commit 59caea4344)
This commit is contained in:
Jeff Young
2025-07-28 20:34:39 +01:00
parent 083dc651b4
commit be7cf117a5
3 changed files with 8 additions and 0 deletions
+3
View File
@@ -48,6 +48,9 @@ public:
wxString GetResultCell( int aRow, int aCol ) override
{
if( m_frame->IsClosing() )
return wxEmptyString;
if( aRow >= static_cast<int>( m_hitlist.size() ) )
return wxEmptyString;
+2
View File
@@ -589,6 +589,8 @@ public:
*/
virtual void OnModify();
bool IsClosing() const { return m_isClosing; }
bool NonUserClose( bool aForce )
{
m_isNonUserClose = true;
+3
View File
@@ -39,6 +39,9 @@ public:
wxString GetResultCell( int aRow, int aCol ) override
{
if( m_frame->IsClosing() )
return wxEmptyString;
if( aRow >= static_cast<int>(m_hitlist.size() ) )
return wxEmptyString;