Skip to content

Commit

Permalink
Merge pull request alibaba#26 from caoenergy/master
Browse files Browse the repository at this point in the history
Code enhancement for alibaba#20
  • Loading branch information
oldmanpushcart authored Feb 8, 2018
2 parents bda12d1 + c728a59 commit abb9eba
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 abb9eba

Please sign in to comment.