Dialog sheet animation can no longer cause a crash
commit52db095d458273bc586cdb61936336ca91dced32
authorBjorn Winckler <bjorn.winckler@gmail.com>
Tue, 14 Jul 2009 22:54:08 +0000 (15 00:54 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Tue, 14 Jul 2009 23:00:06 +0000 (15 01:00 +0200)
tree1d90913a85fe205f33c138b05a863b8d99e23f67
parentfe0ed82a5bbfac11932085e0042a85424a61b703
Dialog sheet animation can no longer cause a crash

Explicitly force the sheet animation to be performed before passing the
result of the sheet on to the backend.  Before this patch the animation
was performed asynchronously and this could lead to a Vim controller
being released at the same time as the animation was being performed
since the animation took place in the default run loop mode.
src/MacVim/MMVimController.m