Skip to content

Commit

Permalink
调整删除增强类时对自释放的处理
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchenxu committed Jan 6, 2019
1 parent 2c0fdb3 commit 55c7454
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ public void delete(final int watcherId,
cftIt.remove();

// 删除可释放资源
coreModule.release(sandboxClassFileTransformer);
if(sandboxClassFileTransformer.isAutoRelease()) {
coreModule.release(sandboxClassFileTransformer);
}

}
}
Expand Down

0 comments on commit 55c7454

Please sign in to comment.