Skip to content

Commit d793d54

Browse files
Resource Leak 3.0
1 parent 7468f58 commit d793d54

File tree

1 file changed

+4
-0
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics

1 file changed

+4
-0
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2708,5 +2708,9 @@ private ImageData getImageData() {
27082708
}
27092709
}
27102710

2711+
private boolean isDisposed() {
2712+
return this.handle == 0;
2713+
}
2714+
27112715
}
27122716
}

0 commit comments

Comments
 (0)