Guard against reentrant calls to processCommandQueue:
commit1d29c9dbe6afc63550b7156d19622606073253d6
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 15 Jun 2008 14:11:38 +0000 (15 16:11 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 15 Jun 2008 14:11:38 +0000 (15 16:11 +0200)
tree6f5f9fb01642ed0baf7de7ec53ad8f01f9b48b9c
parent8bd54d6ab5a4c7734fa9ffea7c71de4c93d8d097
Guard against reentrant calls to processCommandQueue:

If processCommandQueue: is called when inProcessCommandQueue is set we
add the input to a receive queue and return.  This is to ensure that
processCommandQueue: can only be called "once at a time".  Reentrant
calls can be caused by calling a synchronous DO message or by entering a
modal loop in the frontend.
src/MacVim/MMVimController.h
src/MacVim/MMVimController.m
src/MacVim/MMWindowController.m