1
0
Fork 0

free config file from memory

This commit is contained in:
Kevin Matz 2019-11-17 11:27:08 -05:00
parent 8ac7d298e7
commit 32549a4d66
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ for b in config.get('button', 'names').split(','):
# clear temp variables off the stack
try:
del pin, closed, opened
del c, config
except NameError as e:
print('failed to release memory', e)