Skip to content
Permalink
Browse files

Merge pull request #7960 from Techjar/netplay-fix-segfault-on-exit

Qt/MainWindow: Fix segfault on exit while NetPlay is open
  • Loading branch information...
JMC47 committed Apr 5, 2019
2 parents e44433c + ab6583b commit a7ee00ae2527eafcda1c530a5d45c3350593d839
Showing with 4 additions and 0 deletions.
  1. +4 −0 Source/Core/DolphinQt/MainWindow.cpp
@@ -256,6 +256,10 @@ MainWindow::MainWindow(std::unique_ptr<BootParameters> boot_parameters,

MainWindow::~MainWindow()
{
// Shut down NetPlay first to avoid race condition segfault
Settings::Instance().ResetNetPlayClient();
Settings::Instance().ResetNetPlayServer();

delete m_render_widget;
delete m_netplay_dialog;

0 comments on commit a7ee00a

Please sign in to comment.
You can’t perform that action at this time.