Remove this cache, it is essentially a memory leak
This commit is contained in:
@@ -699,7 +699,6 @@ class Grammars:
|
||||
return self._compiler_for_grammar(grammar)
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=None)
|
||||
def highlight_line(
|
||||
compiler: 'Compiler',
|
||||
state: State,
|
||||
|
||||
Reference in New Issue
Block a user