aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/LayoutingQueueItem.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-04 22:45:22 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-04 22:45:22 +0100
commita705b3d79e7cbeb887353c4e107e32844b13d7a9 (patch)
tree5a699c63b55193a0d7bc94b7911d38126c36d8da /src/LayoutingQueueItem.cs
parent64572f9c6301ddf4ed2921597366ff3ebd3d7c0f (diff)
register LinkedListNode, prevent uneeded cyclic ref
Diffstat (limited to 'src/LayoutingQueueItem.cs')
-rw-r--r--src/LayoutingQueueItem.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs
index 816d1923..80d04dc6 100644
--- a/src/LayoutingQueueItem.cs
+++ b/src/LayoutingQueueItem.cs
@@ -37,8 +37,7 @@ namespace Crow
}
public class LayoutingQueueItem
- {
- public LinkedListNode<LayoutingQueueItem> Node;
+ {
public ILayoutable GraphicObject;
public LayoutingType LayoutType;
@@ -46,11 +45,8 @@ namespace Crow
{
LayoutType = _layoutType;
GraphicObject = _graphicObject;
- GraphicObject.RegisteredLQIs.Add (this);
- }
- public void DeleteLayoutableRef(){
- GraphicObject.RegisteredLQIs.Remove(this);
}
+
public void ProcessLayouting()
{
#if DEBUG_LAYOUTING