Skip to content

Commit 96f0413

Browse files
committed
Drop extraneous scoped_lock holding non-existent global _ft2LibraryMutex
1 parent d8372d5 commit 96f0413

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/ft2font.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ void FT2Font::close()
225225
glyphs.clear();
226226

227227
if (face) {
228-
// FT_Done_Face mutates the shared _ft2Library; serialize it.
229-
std::scoped_lock lock{_ft2LibraryMutex};
230228
FT_Done_Face(face);
231229
face = nullptr;
232230
}

0 commit comments

Comments
 (0)