Skip to content

Commit

Permalink
[fixed] random crash on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAnswer committed Dec 24, 2013
1 parent 9c7ba4f commit f77a2b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 2 additions & 4 deletions macroeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@

MacroEditor::MacroEditor(QWidget *parent) :
QDialog(parent),
ui(new Ui::MacroEditor)
{
ui(new Ui::MacroEditor) {
ui->setupUi(this);
}

MacroEditor::~MacroEditor()
{
MacroEditor::~MacroEditor() {
delete ui;
}
8 changes: 8 additions & 0 deletions windebugmonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
#include "atlstr.h"

WinDebugMonitor::WinDebugMonitor() {
m_hDBWinMutex = NULL;
m_hDBMonBuffer = NULL;
m_hEventBufferReady = NULL;
m_hEventDataReady = NULL;

m_hWinDebugMonitorThread = NULL;
m_bWinDebugMonStopped = TRUE;
m_pDBBuffer = NULL;
}

WinDebugMonitor::~WinDebugMonitor() {
Expand Down

0 comments on commit f77a2b8

Please sign in to comment.