Skip to content

Commit

Permalink
Fix: Add destroy() in AbstractSketchPFM
Browse files Browse the repository at this point in the history
  • Loading branch information
SonarSonic committed Jul 31, 2024
1 parent fea12a4 commit eb7520b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/drawingbot/pfm/AbstractSketchPFM.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ public int eraseGeometry(IPixelData pixelData, IGeometry geometry, float radiusM
}

@Override
public void onStopped() {
super.onStopped();
public void destroy() {
super.destroy();
if(targetCache != null){
targetCache.destroy();
}
Expand Down

0 comments on commit eb7520b

Please sign in to comment.