diff options
author | Ludwig Hähne <pankrat@tigris.org> | 2008-09-10 16:24:15 (GMT) |
---|---|---|
committer | Ludwig Hähne <pankrat@tigris.org> | 2008-09-10 16:24:15 (GMT) |
commit | 1c280140f557190a9625397bbe9e5a3a540efac5 (patch) | |
tree | 481d1b99880d2a2d4bf3470fca80032eaa237597 /src/engine/SCons/SConf.py | |
parent | 311e482d13e4bfbcd643e0fb7cdc017ac55b6dc9 (diff) | |
download | SCons-1c280140f557190a9625397bbe9e5a3a540efac5.zip SCons-1c280140f557190a9625397bbe9e5a3a540efac5.tar.gz SCons-1c280140f557190a9625397bbe9e5a3a540efac5.tar.bz2 |
Issue 2149: Avoid reference cycles caused by frame objects
Diffstat (limited to 'src/engine/SCons/SConf.py')
-rw-r--r-- | src/engine/SCons/SConf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index b964307..9b3879e 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -235,7 +235,9 @@ class SConfBuildTask(SCons.Taskmaster.Task): raise elif issubclass(exc_type, SCons.Errors.BuildError): # we ignore Build Errors (occurs, when a test doesn't pass) - pass + # Clear the exception to prevent the contained traceback + # to build a reference cycle. + self.exc_clear() else: self.display('Caught exception while building "%s":\n' % self.targets[0]) |