mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
fixing the crash on exit
This commit is contained in:
parent
a5eb7820a5
commit
5acd195d0f
7 changed files with 75 additions and 49 deletions
|
@ -84,6 +84,7 @@ void ProxGuiQT::_HideGraphWindow(void)
|
|||
void ProxGuiQT::_Exit(void) {
|
||||
delete this;
|
||||
}
|
||||
|
||||
void ProxGuiQT::MainLoop()
|
||||
{
|
||||
plotapp = new QApplication(argc, argv);
|
||||
|
@ -110,7 +111,7 @@ ProxGuiQT::~ProxGuiQT(void)
|
|||
//}
|
||||
if (plotapp) {
|
||||
plotapp->quit();
|
||||
delete plotapp;
|
||||
// delete plotapp;
|
||||
plotapp = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue