mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix Cannot create children for a parent that is in a different thread
This commit is contained in:
@ -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
|
||||
{
|
||||
auto ySession = new YACReaderHttpSession(this);
|
||||
auto ySession = new YACReaderHttpSession();
|
||||
|
||||
Static::yacreaderSessionStore->addYACReaderHttpSession(token, ySession);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user