From 371c3813dc789fbb558791f23afea9a69e13a4a8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 21 Feb 2021 20:49:15 +0100 Subject: Remove hard-coded call ID comments We no longer have hard-coded call IDs, so these comments are outdated. The new call ID system seems to also contribute to keeping tab reloading working consistently, so I'm keeping it instead of going back to the hard-coded IDs. --- l/src/main.lisp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'l/src') diff --git a/l/src/main.lisp b/l/src/main.lisp index 9e2c2b5..81f05d6 100644 --- a/l/src/main.lisp +++ b/l/src/main.lisp @@ -110,7 +110,6 @@ target-id)))) (defun reload-extension (session-id) - ;; Use call ID "1" as this is the first message sent to the attached target. (setf *last-session-id* session-id) (websocket-send *client* @@ -122,9 +121,6 @@ (incf *reloaded-count*)) (defun reload-tab (session-id) - ;; Use call ID "2" as this will always be sent after a `reload-extension` - ;; message. - ;; Two response messages always come back from the `chrome.tabs.reload()` ;; messages, so we need to add a second increment to the wait group. (wait-group:add *wg*) -- cgit v1.2.3