mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-24 05:17:46 +00:00
Fix another possible deref crash
This commit is contained in:
parent
c5253f408b
commit
a48b6d630d
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ void SquareLauncher::registerSession(const LoginInformation& info) {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto reply = window.mgr->post(request, report.toUtf8());
|
auto reply = window.mgr->post(request, report.toUtf8());
|
||||||
connect(reply, &QNetworkReply::finished, [&] {
|
connect(reply, &QNetworkReply::finished, [=, &info] {
|
||||||
if(reply->rawHeaderList().contains("X-Patch-Unique-Id")) {
|
if(reply->rawHeaderList().contains("X-Patch-Unique-Id")) {
|
||||||
auth.SID = reply->rawHeader("X-Patch-Unique-Id");
|
auth.SID = reply->rawHeader("X-Patch-Unique-Id");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue