]> git.eshelyaron.com Git - emacs.git/commit
Fix race condition in erc-server-send-queue vs quitting erc
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 2 Aug 2020 05:48:30 +0000 (07:48 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 2 Aug 2020 05:48:30 +0000 (07:48 +0200)
commit882448746778f3d63e7e793f1d5866014ad2f005
tree1721d683a30b50557b927ecdd98108f9e2cbee6d
parent6ec71e829a272e562c541ef5c93213d2fac3d3d7
Fix race condition in erc-server-send-queue vs quitting erc

* lisp/erc/erc-backend.el (erc-server-send-queue): Check that the
buffer is live before using it (bug#40418).  This fixes a rare
problem when the queue is non-empty when `erc-quit-server' is run.
lisp/erc/erc-backend.el