Remove GC. Not needed on newer Cpy versions

This commit is contained in:
Kyle Brown committed 2020-10-13 10:58:18 -07:00
1 parent 026308bbeb
commit 1a4e81a2e5
4 files changed
+13 -32

No files matched your search

-4
View File
@@ -1,5 +1,3 @@
import gc
import kmk.handlers.layers as layers
import kmk.handlers.modtap as modtap
import kmk.handlers.stock as handlers
@@ -305,9 +303,7 @@ def make_key(code=None, names=tuple(), type=KEY_SIMPLE, **kwargs): # NOQA
key = constructor(code=code, **kwargs)
gc.collect()
register_key_names(key, names)
gc.collect()
return key