From 02116415d18be3b9d9924730fcc16de195ba996f Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Fri, 24 Oct 2014 02:25:18 -0700 Subject: [PATCH] Unload patch after the end of the game --- src/platform/qt/GameController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/qt/GameController.cpp b/src/platform/qt/GameController.cpp index 11fc1dd98..22129a9db 100644 --- a/src/platform/qt/GameController.cpp +++ b/src/platform/qt/GameController.cpp @@ -191,6 +191,8 @@ void GameController::closeGame() { m_threadContext.fname = nullptr; } + m_patch = QString(); + m_gameOpen = false; emit gameStopped(&m_threadContext); }