Skip to content

Commit

Permalink
Prevent segmentation fault while program closing
Browse files Browse the repository at this point in the history
  • Loading branch information
donarturo11 committed Jun 17, 2024
1 parent 64216a6 commit 1f02154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GUI/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ MainWindow::MainWindow(QWidget *parent)
MainWindow::~MainWindow()
{
disconnect(_brainwave, 0, 0, 0);
_brainwave->deleteConnection();
delete ui;
delete _osc;
delete _brainwave;
Expand Down

0 comments on commit 1f02154

Please sign in to comment.