mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Merge pull request #1200 from Trial97/net_job_crash
Made ByteSynkArray to use shared_ptr
This commit is contained in:
parent
9df3c5d3c0
commit
05056e1abf
47 changed files with 659 additions and 793 deletions
|
|
@ -182,7 +182,7 @@ bool FlameCreationTask::updateInstance()
|
|||
fileIds.append(QString::number(file.fileId));
|
||||
}
|
||||
|
||||
auto* raw_response = new QByteArray;
|
||||
auto raw_response = std::make_shared<QByteArray>();
|
||||
auto job = api.getFiles(fileIds, raw_response);
|
||||
|
||||
QEventLoop loop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue