Skip to content

FreeType: reset library variable during finalize() - #49

Closed
ffreling wants to merge 1 commit into
mosra:masterfrom
ffreling:freetype-reset-library
Closed

FreeType: reset library variable during finalize()#49
ffreling wants to merge 1 commit into
mosra:masterfrom
ffreling:freetype-reset-library

Conversation

@ffreling

Copy link
Copy Markdown
Contributor

By not resetting the library variable, we can't safely initialize twice FreeType in the lifetime of the application.

@mosra

mosra commented Oct 23, 2018

Copy link
Copy Markdown
Owner

Ugh, sorry, how did I not test this? 🙈

This looks simple enough to still get into 2018.10, I'll write a test case to ensure this never happens again.

@mosra mosra added this to the 2018.10 milestone Oct 23, 2018
@mosra

mosra commented Oct 23, 2018

Copy link
Copy Markdown
Owner

Merged in a71ad5e, the corresponding test is one commit earlier. Thanks a lot! 👍

@mosra mosra closed this Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants