diff options
| author | Teddy Wing | 2021-02-27 18:07:42 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2021-02-27 18:07:42 +0100 | 
| commit | 54ecaa77f8878b09bb6e2d19f757a982ac9f75c9 (patch) | |
| tree | 4606d90314eb6356738e4747a05a68084e89a62c | |
| parent | 5fdb4c06911fa73ce2b1c864f6c37b841bfdd65b (diff) | |
| download | extreload-54ecaa77f8878b09bb6e2d19f757a982ac9f75c9.tar.bz2 | |
main: Remove unused globals
I used these for debugging, but they aren't relevant any more.
| -rw-r--r-- | l/src/main.lisp | 9 | 
1 files changed, 1 insertions, 8 deletions
| 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()` | 
