aboutsummaryrefslogtreecommitdiff
path: root/internal/worker.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-26 13:46:35 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-26 13:46:35 +0300
commit57dc301d6e55a55261b65e9a926cb69b88e28c58 (patch)
tree6b3c495d7931dd5cd50d3bb0392908f4ebebcad5 /internal/worker.zsh
parent5e42c4c930d63530d3547fc5b7f7cbeb619f0def (diff)
bug fix: declare worker global vars in _p9k_init_vars
Diffstat (limited to 'internal/worker.zsh')
-rw-r--r--internal/worker.zsh7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh
index 99948c46..464a2b9d 100644
--- a/internal/worker.zsh
+++ b/internal/worker.zsh
@@ -74,13 +74,6 @@ function _p9k_worker_main() {
}
}
-typeset -g _p9k__worker_pid
-typeset -g _p9k__worker_req_fd
-typeset -g _p9k__worker_resp_fd
-typeset -g _p9k__worker_shell_pid
-typeset -g _p9k__worker_file_prefix
-typeset -gA _p9k__worker_request_map
-
# invoked in master: _p9k_worker_invoke <request-id> <list>
function _p9k_worker_invoke() {
[[ -n $_p9k__worker_resp_fd ]] || return