diff options
Diffstat (limited to 'src/engine/SCons/Script')
| -rw-r--r-- | src/engine/SCons/Script/Interactive.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/SCons/Script/Interactive.py b/src/engine/SCons/Script/Interactive.py index 46582c5..4158f99 100644 --- a/src/engine/SCons/Script/Interactive.py +++ b/src/engine/SCons/Script/Interactive.py @@ -258,6 +258,14 @@ class SConsInteractiveCmd(cmd.Cmd): # node.set_state() to reset it manually node.set_state(SCons.Node.no_state) node.implicit = None + # Make sure Taskmaster reference counts are reset to zero. + # + # TODO: Look for a way to avoid having to reset this here + # by making sure the Taskmaster will always end up reverting + # every Node's ref_count to 0 before terminating. That may + # provide clues about intermittent phantom cycles that have + # been reported (e.g. issue 2265 at tigris.org). + node.ref_count = 0 SCons.SConsign.Reset() SCons.Script.Main.progress_display("scons: done clearing node information.") |
