diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-31 05:58:41 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-06 07:45:01 -0500 |
| commit | 72dd230cdc60e74446caceb5cfb4c6d32e4f6f68 (patch) | |
| tree | 00544a8dccc5b6862eeab41aff652855fa48befa /src/spawn.cpp | |
| parent | 719a2f20b4bb6b722097b63df8468d073d67e65f (diff) | |
removed unused files
fixed handle leak when starting steam
Diffstat (limited to 'src/spawn.cpp')
| -rw-r--r-- | src/spawn.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp index b331db01..62745542 100644 --- a/src/spawn.cpp +++ b/src/spawn.cpp @@ -27,8 +27,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "envmodule.h"
#include "settings.h"
#include "settingsdialogworkarounds.h"
-#include <iplugingame.h>
-#include <ilockedwaitingforprocess.h>
#include <errorcodes.h>
#include <report.h>
#include <log.h>
@@ -645,6 +643,7 @@ bool startSteam(QWidget* parent) HANDLE ph = INVALID_HANDLE_VALUE;
const auto e = spawn(sp, ph);
+ ::CloseHandle(ph);
if (e != ERROR_SUCCESS) {
// make sure username and passwords are not shown
|
