Merge pull request #1200 from Trial97/net_job_crash

Made ByteSynkArray to use shared_ptr
This commit is contained in:
Rachel Powers
2023-06-23 09:13:52 -07:00
committed by Sefa Eyeoglu
parent 9df3c5d3c0
commit 05056e1abf
47 changed files with 659 additions and 793 deletions

View File

@ -82,9 +82,9 @@ private:
void toggleMod(ATLauncher::VersionMod mod, int index);
void setMod(ATLauncher::VersionMod mod, int index, bool enable, bool shouldEmit = true);
private:
private:
NetJob::Ptr m_jobPtr;
QByteArray m_response;
std::shared_ptr<QByteArray> m_response = std::make_shared<QByteArray>();
ATLauncher::PackVersion m_version;
QVector<ATLauncher::VersionMod> m_mods;