]> granicus.if.org Git - vim/commit
patch 8.0.0698: crash on exit when using Python function in timer. v8.0.0698
authorBram Moolenaar <Bram@vim.org>
Fri, 7 Jul 2017 12:50:44 +0000 (14:50 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Jul 2017 12:50:44 +0000 (14:50 +0200)
commitc4f833808af930505017c9389d44a828601e247c
tree577f9425a910a666e2d6d8cad51a411460ec8cca
parent8858498516108432453526f07783f14c9196e112
patch 8.0.0698: crash on exit when using Python function in timer.

Problem:    When a timer uses ":pyeval" or another Python command and it
            happens to be triggered while exiting a Crash may happen.
            (Ricky Zhou)
Solution:   Avoid running a Python command after python_end() was called.
            Do not trigger timers while exiting.  (closes #1824)
src/ex_cmds2.c
src/if_python.c
src/if_python3.c
src/version.c