aboutsummaryrefslogtreecommitdiffstats
path: root/l/src
diff options
context:
space:
mode:
Diffstat (limited to 'l/src')
-rw-r--r--l/src/main.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/l/src/main.lisp b/l/src/main.lisp
index bf16ef4..9e2c2b5 100644
--- a/l/src/main.lisp
+++ b/l/src/main.lisp
@@ -124,6 +124,11 @@
(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*)
+
(websocket-send
*client*
(runtime-evaluate-msg