summaryrefslogtreecommitdiffstats
path: root/proxy/src/gssproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gssproxy.c')
-rw-r--r--proxy/src/gssproxy.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/proxy/src/gssproxy.c b/proxy/src/gssproxy.c
index ba11fa2..9bfad08 100644
--- a/proxy/src/gssproxy.c
+++ b/proxy/src/gssproxy.c
@@ -107,8 +107,15 @@ int main(int argc, const char *argv[])
}
verto_set_private(ev, gpctx, NULL);
+ gpctx->workers = gp_workers_init(vctx, gpctx->config);
+ if (!gpctx->workers) {
+ exit(EXIT_FAILURE);
+ }
+
verto_run(vctx);
+ gp_workers_free(gpctx->workers);
+
fini_server();
poptFreeContext(pc);