From 354968a9b9d2eb2be419c7a78e0dadbadf1a79fa Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Wed, 7 Jan 2009 20:16:01 +0100 Subject: [PATCH] Add comment --- src/MacVim/MMAppController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MacVim/MMAppController.m b/src/MacVim/MMAppController.m index c4b9b96dfc..2a3b527d56 100644 --- a/src/MacVim/MMAppController.m +++ b/src/MacVim/MMAppController.m @@ -561,6 +561,9 @@ fsEventCallback(ConstFSEventStreamRef streamRef, // connection). [connection invalidate]; + // Deactivate the font we loaded from the app bundle. + // NOTE: This can take quite a while (~500 ms), so termination will be + // noticeably faster if loading of the default font is disabled. if (fontContainerRef) { ATSFontDeactivate(fontContainerRef, NULL, kATSOptionFlagsDefault); fontContainerRef = 0;