Commit 0ad61fe7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(status_notify): Update p->tick again

just before running the sentinel, in case it dies.
parent 5300fd39
......@@ -3614,6 +3614,11 @@ status_notify ()
deactivate_process (proc);
/* The actions above may have further incremented p->tick.
So set p->update_tick again
so that an error in the sentinel will not cause
this code to be run again. */
XSETINT (p->update_tick, XINT (p->tick));
/* Now output the message suitably. */
if (!NILP (p->sentinel))
exec_sentinel (proc, msg);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment