we haven't closed session file for previous target which lead to potentially nasty problems in multi target mode

This commit is contained in:
Miroslav Stampar 2011-01-20 17:53:49 +00:00
parent ad12242151
commit dd7262d9e6

View File

@ -279,6 +279,9 @@ def initTargetEnv():
"""
if conf.multipleTargets:
if conf.sessionFP:
conf.sessionFP.close()
if conf.cj:
conf.cj.clear()