From 49eeb133acaa1731f7b2122c4c3247015b9f6b39 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sun, 5 Apr 2009 20:00:02 +0200 Subject: [PATCH] Add comment on DO timeouts --- src/MacVim/MMBackend.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/MacVim/MMBackend.m b/src/MacVim/MMBackend.m index 998096176e..c316d79a21 100644 --- a/src/MacVim/MMBackend.m +++ b/src/MacVim/MMBackend.m @@ -336,6 +336,11 @@ extern GuiFont gui_mch_retain_font(GuiFont font); appProxy = [[connection rootProxy] retain]; [appProxy setProtocolForProxy:@protocol(MMAppProtocol)]; + // NOTE: We do not set any new timeout values for the connection to the + // frontend. This means that if the frontend is "stuck" (e.g. in a + // modal loop) then any calls to the frontend will block indefinitely + // (the default timeouts are huge). + int pid = [[NSProcessInfo processInfo] processIdentifier]; identifier = [appProxy connectBackend:self pid:pid];