Skip to content

Commit

Permalink
Code enhancement for alibaba#20
Browse files Browse the repository at this point in the history
  • Loading branch information
caoenergy committed Jan 22, 2018
1 parent dab8a9f commit c728a59
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ void delete(final Node node) {
if (null != node.next) {
node.next.pre = node.pre;
}
// help gc
node.pre = node.next = null;
}

// 插入节点
Expand Down

0 comments on commit c728a59

Please sign in to comment.