clear cache at exit

This commit is contained in:
Alexander 2017-09-19 03:10:57 +03:00
parent 654b5f7958
commit 5366a94725

View File

@ -110,6 +110,7 @@ import os
import sys
import io
import struct
import atexit
# type stuff
import collections
@ -2861,3 +2862,4 @@ def _apply_env_variables(env=None):
warnings.warn("{0}: {1}".format(var_name, e))
_apply_env_variables()
atexit.register(core.clear_cache)