Delay processing unsafe command queue items
commit0154dff18258c532c6a4acdc990ffa6ace6310ec
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 21 Jun 2008 18:32:37 +0000 (21 20:32 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 21 Jun 2008 18:32:37 +0000 (21 20:32 +0200)
tree93d38aef3ae10658a8c614edf138ac1698e9856e
parent4c4539987e2dc33fe3eb2248e333db54fba0866d
Delay processing unsafe command queue items

Unsafe messages are defined in isUnsafeMessage().  If a message is
unsafe it should only be handled in the default run loop mode.  This is
e.g. to avoid deleting Cocoa objects when a Cocoa message may be busy
processing it (which may happen due to the nature of distributed objects
and the fact that we process DO message in 'event tracking' mode).
src/MacVim/MMVimController.m
src/MacVim/MacVim.h