Skip to content

Commit 66dbc69

Browse files
author
Martin Rotter
committed
make cookies sync one-way as it crashes for upstream bug
1 parent 7c23e7c commit 66dbc69

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/librssguard/network-web/cookiejar.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ bool CookieJar::insertCookieInternal(const QNetworkCookie& cookie, bool notify_o
124124

125125
#if defined(USE_WEBENGINE)
126126
if (notify_others) {
127-
m_webEngineCookies->setCookie(cookie);
127+
// NOTE: Make sync one-way for now, it crashes.
128+
//m_webEngineCookies->setCookie(cookie);
128129
}
129130
#else
130131
Q_UNUSED(notify_others)
@@ -142,7 +143,7 @@ bool CookieJar::updateCookieInternal(const QNetworkCookie& cookie, bool notify_o
142143

143144
#if defined(USE_WEBENGINE)
144145
if (notify_others) {
145-
m_webEngineCookies->setCookie(cookie);
146+
//m_webEngineCookies->setCookie(cookie);
146147
}
147148
#else
148149
Q_UNUSED(notify_others)
@@ -160,7 +161,7 @@ bool CookieJar::deleteCookieInternal(const QNetworkCookie& cookie, bool notify_o
160161

161162
#if defined(USE_WEBENGINE)
162163
if (notify_others) {
163-
m_webEngineCookies->deleteCookie(cookie);
164+
//m_webEngineCookies->deleteCookie(cookie);
164165
}
165166
#else
166167
Q_UNUSED(notify_others)

0 commit comments

Comments
 (0)