mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get rid of locale storage since it does not fix the crash
This commit is contained in:
parent
e47a2d888b
commit
2fb46fb3dd
@ -73,7 +73,6 @@ if _speedup is not None:
|
||||
def spell_property(sfmt, locale):
|
||||
s = QTextCharFormat(sfmt)
|
||||
s.setProperty(SPELL_LOCALE_PROPERTY, locale)
|
||||
s.mem = locale # ensure locale is not garbage collected
|
||||
return s
|
||||
_speedup.init(spell_property, dictionaries.recognized, split_into_words_and_positions)
|
||||
del spell_property
|
||||
|
Loading…
x
Reference in New Issue
Block a user