remove config file from memory
This commit is contained in:
parent
b095913334
commit
f9fe9237d0
|
@ -65,6 +65,15 @@ for name in config.get('network', 'hogs').split(',').strip('\"'):
|
||||||
print('Error configuring button', b, e)
|
print('Error configuring button', b, e)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
|
# clear temp variables off the stack
|
||||||
|
try:
|
||||||
|
del ip, port, net
|
||||||
|
del server, config
|
||||||
|
except NameError as e:
|
||||||
|
print('failed to release memory', e)
|
||||||
|
|
||||||
|
|
||||||
walker = ParseTreeWalker()
|
walker = ParseTreeWalker()
|
||||||
listener = OscCommentMacroListener(servers)
|
listener = OscCommentMacroListener(servers)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue