Fix Cannot create children for a parent that is in a different thread

This commit is contained in:
luisangelsm
2026-04-12 12:53:41 +02:00
parent 0716cbe166
commit 8fc7c9e814

View File

@ -55,7 +55,7 @@ void RequestMapper::loadSessionV2(HttpRequest &request, HttpResponse & /* respon
if (yRecoveredSession == nullptr) // session is already alive check if it is needed to update comics if (yRecoveredSession == nullptr) // session is already alive check if it is needed to update comics
{ {
auto ySession = new YACReaderHttpSession(this); auto ySession = new YACReaderHttpSession();
Static::yacreaderSessionStore->addYACReaderHttpSession(token, ySession); Static::yacreaderSessionStore->addYACReaderHttpSession(token, ySession);
} }