mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #7964 from Techjar/fix-netplayindex-segfault
UICommon/NetPlayIndex: Fix random segfaults after quitting NetPlay
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/Flag.h"
|
||||
#include "Common/Event.h"
|
||||
|
||||
struct NetPlaySession
|
||||
{
|
||||
@ -55,8 +55,6 @@ public:
|
||||
private:
|
||||
void NotificationLoop();
|
||||
|
||||
Common::Flag m_running;
|
||||
|
||||
std::string m_secret;
|
||||
std::string m_game;
|
||||
int m_player_count = 0;
|
||||
@ -64,4 +62,6 @@ private:
|
||||
|
||||
std::string m_last_error;
|
||||
std::thread m_session_thread;
|
||||
|
||||
Common::Event m_session_thread_exit_event;
|
||||
};
|
||||
|
Reference in New Issue
Block a user