[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed 9fc0cbf 200/389: Remove mpv socket when stopping mpv
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed 9fc0cbf 200/389: Remove mpv socket when stopping mpv |
Date: |
Fri, 3 Dec 2021 11:00:25 -0500 (EST) |
branch: elpa/subed
commit 9fc0cbfcdc0a0a01a0245c8ae8d4ac049a729bde
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>
Remove mpv socket when stopping mpv
---
subed/subed-mpv.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/subed/subed-mpv.el b/subed/subed-mpv.el
index b8fc46a..006af50 100644
--- a/subed/subed-mpv.el
+++ b/subed/subed-mpv.el
@@ -103,6 +103,10 @@ Pass ARGS as command line arguments. \"--idle\" and
(when (and subed-mpv--server-proc (process-live-p subed-mpv--server-proc))
(delete-process subed-mpv--server-proc)
(subed-debug "Killed mpv process"))
+ (let ((socket-file (subed-mpv--socket)))
+ (when (file-exists-p socket-file)
+ (subed-debug "Removing IPC socket: %s" socket-file)
+ (ignore-errors (delete-file socket-file))))
(setq subed-mpv--server-proc nil))
(defun subed-mpv--server-started-p ()
- [nongnu] elpa/subed 908b1b0 176/389: Simplify tests for moving in active region, (continued)
- [nongnu] elpa/subed 908b1b0 176/389: Simplify tests for moving in active region, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed c1c707e 182/389: Rename subed-adjust-to-player-start/stop-timestamp, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f6b13f6 197/389: Adjust error message when autoloading video fails, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed e9f3e4e 215/389: Move tests for killing SRT subtitles to test-subed-srt.el, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 5b64bcc 203/389: Fix typo in docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 619b170 177/389: subed-for-each-subtitle: Add reverse argument, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed b94330f 214/389: Fix indentations, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed afbdd42 206/389: Enable buttercup-minor-mode when opening test files, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 0c98c6d 208/389: avoid quoting lambdas (prevents byte-compilation), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 0852968 210/389: adjust auto-mode-alist regexp match, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 9fc0cbf 200/389: Remove mpv socket when stopping mpv,
ELPA Syncer <=
- [nongnu] elpa/subed 49e73c7 209/389: mark variable as unused with leading underscore, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 4195590 189/389: (unless ...) instead of (when (not ...) ...), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 8c3651f9 184/389: Remove alpha warning, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed a42ba17 220/389: Simplify subed-srt--subtitle-kill, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed cefb54b 194/389: (unless ...) instead of (when (not ...) ...), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 769718c 212/389: Fix test for re-enabling point-to-player syncing, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 6d53418 224/389: Add test for killing non-last subtitle, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed e621108 219/389: Adjust subtitle killing test descriptions, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 06e9ce9 227/389: Make group in regexp-separator shy, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f7f9fcf 226/389: Remove useless concat, ELPA Syncer, 2021/12/03