Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public String toString () {
* @noreference This method is not intended to be referenced by clients.
*/
public static long win32_getHandle(Font font) {
if (font.handle == 0 && font.fontData != null) {
if (font.handle == 0 && font.fontData != null && !font.isDestroyed) {
font.init(font.fontData);
}
return font.handle;
Expand Down
Loading