Set m_taskBarIcon to NULL after deleted
This commit is contained in:
parent
e0e8401482
commit
39708ad4cb
@ -125,6 +125,7 @@ wxZRColaFrame::wxZRColaFrame() :
|
||||
} else {
|
||||
// Taskbar icon creation failed. Not the end of the world. No taskbar icon then.
|
||||
delete m_taskBarIcon;
|
||||
m_taskBarIcon = NULL;
|
||||
}
|
||||
|
||||
wxPersistenceManager &persist_mgr = wxPersistenceManager::Get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user