mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Experimentally remove webview recycling
It was originally introduced for WebKit, and may no longer be pertinent for Chromium.WebEngine. https://forums.ankiweb.net/t/anki-glitch-showing-previous-card-answer-instead-of-new-card/12482/13
This commit is contained in:
parent
4a884d379f
commit
966d7f3760
1 changed files with 1 additions and 2 deletions
|
@ -230,8 +230,7 @@ class Reviewer:
|
|||
self.mw.moveToState("overview")
|
||||
return
|
||||
|
||||
if self._reps is None or self._reps % 100 == 0:
|
||||
# we recycle the webview periodically so webkit can free memory
|
||||
if self._reps is None:
|
||||
self._initWeb()
|
||||
|
||||
self._showQuestion()
|
||||
|
|
Loading…
Reference in a new issue