Merge pull request #7964 from Techjar/fix-netplayindex-segfault

UICommon/NetPlayIndex: Fix random segfaults after quitting NetPlay
This commit is contained in:
spycrab
2019-04-09 12:45:58 +02:00
committed by GitHub
2 changed files with 6 additions and 13 deletions

View File

@ -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;
};