aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-02-21 20:49:15 +0100
committerTeddy Wing2021-02-21 20:49:15 +0100
commit371c3813dc789fbb558791f23afea9a69e13a4a8 (patch)
tree3026332366915d19646839314d81e9bc9bbdb4a5
parent9eee64d10810ec28940c628bf0f8d7bd71cd456c (diff)
downloadextreload-371c3813dc789fbb558791f23afea9a69e13a4a8.tar.bz2
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.
-rw-r--r--l/src/main.lisp4
1 files changed, 0 insertions, 4 deletions
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*)