From 54ecaa77f8878b09bb6e2d19f757a982ac9f75c9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 27 Feb 2021 18:07:42 +0100 Subject: main: Remove unused globals I used these for debugging, but they aren't relevant any more. --- l/src/main.lisp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'l/src/main.lisp') diff --git a/l/src/main.lisp b/l/src/main.lisp index 5dee032..8665412 100644 --- a/l/src/main.lisp +++ b/l/src/main.lisp @@ -3,9 +3,6 @@ (defvar *wg* (wait-group:make-wait-group)) (defvar *devtools-root-call-id* (make-instance 'call-id)) (defvar *devtools-secondary-call-id* (make-instance 'call-id)) -(defvar *reloaded-count* 0) -(defvar *extension-targets-count* 0) -(defvar *last-session-id* "") (defconstant +timeout-seconds+ 5) @@ -41,7 +38,6 @@ (when targets (let ((targets (extension-targets targets))) - (setf *extension-targets-count* (length targets)) (attach-extensions targets extension-ids))) @@ -95,15 +91,12 @@ target-id)))) (defun reload-extension (session-id) - (setf *last-session-id* session-id) (websocket-send (ws-client *config*) (runtime-evaluate-msg (next-call-id *devtools-secondary-call-id*) session-id - "chrome.runtime.reload()")) - - (incf *reloaded-count*)) + "chrome.runtime.reload()"))) (defun reload-tab (session-id) ;; Two response messages always come back from the `chrome.tabs.reload()` -- cgit v1.2.3