Skip to content
Snippets Groups Projects
Commit 8366b4e0 authored by Christer Ekholm's avatar Christer Ekholm
Browse files

Merge branch 'kill-keep-alive-with-buffer' into 'master'

Terminate keep-alive in kill-buffer-hook

Since lyskom-keep-alive-timers is a buffer-local variable,
lyskom-keep-alive-callback can't stop the keep-alive timer
if the buffer has been killed.  As a result, it keeps saying ERROR! in
the mini buffer.

On an idea from Christer Ekholm, terminate the timer explicitly with a
kill-buffer-hook instead.  The error logging in
lyskom-keep-alive-callback has been improved too, to provide more
information on what went wrong if there are other error situations in
the future.

See merge request !2
parents ee45a027 c74c4bbc
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment