aboutsummaryrefslogtreecommitdiff
path: root/seatd/poller.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-09-20 03:14:09 +0200
committerKenny Levinsen <kl@kl.wtf>2020-09-22 01:01:46 +0200
commit6da52fff236c612ffdb803a8d1ede40398c6d070 (patch)
tree4bb40d86aeb640e07b9e2b95e603561068a0cb15 /seatd/poller.c
parent6fa82930d0c5660eea3102989c765dc864514e36 (diff)
poller: Add unittest
Diffstat (limited to 'seatd/poller.c')
-rw-r--r--seatd/poller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/seatd/poller.c b/seatd/poller.c
index 1d1b9b4..267929b 100644
--- a/seatd/poller.c
+++ b/seatd/poller.c
@@ -111,6 +111,7 @@ int poller_finish(struct poller *poller) {
free(bps);
}
free(poller->pollfds);
+ global_poller = NULL;
return 0;
}