diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-14 10:41:52 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-14 10:41:52 +0200 |
commit | 910766458de68c37c8c4dab13c584c4c68502cd0 (patch) | |
tree | 685efbed01904e09cb989896e9e0259570922623 /application/MultiMC.h | |
parent | be53eb66f8a63730f4def5640db6205678b4e9d8 (diff) | |
download | MultiMC-910766458de68c37c8c4dab13c584c4c68502cd0.tar MultiMC-910766458de68c37c8c4dab13c584c4c68502cd0.tar.gz MultiMC-910766458de68c37c8c4dab13c584c4c68502cd0.tar.lz MultiMC-910766458de68c37c8c4dab13c584c4c68502cd0.tar.xz MultiMC-910766458de68c37c8c4dab13c584c4c68502cd0.zip |
GH-1854 prevent a crash if the instance is closed while the kill confirmation dialog is open
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r-- | application/MultiMC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h index a9cbdec7..28a9641a 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -214,7 +214,7 @@ private: struct InstanceXtras { InstanceWindow * window = nullptr; - unique_qobject_ptr<LaunchController> controller; + shared_qobject_ptr<LaunchController> controller; }; std::map<QString, InstanceXtras> m_instanceExtras; size_t m_openWindows = 0; |