aboutsummaryrefslogtreecommitdiff
path: root/src/os/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/event.c')
-rw-r--r--src/os/event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/event.c b/src/os/event.c
index 9c9c9c8967..a4b9d1ac5a 100644
--- a/src/os/event.c
+++ b/src/os/event.c
@@ -7,6 +7,7 @@
#include "lib/klist.h"
#include "os/event.h"
#include "os/input.h"
+#include "os/channel.h"
#include "os/signal.h"
#include "os/rstream.h"
#include "os/job.h"
@@ -36,6 +37,8 @@ void event_init()
signal_init();
// Jobs
job_init();
+ // Channels
+ channel_init();
uv_timer_init(uv_default_loop(), &timer);
// This prepare handle that actually starts the timer
uv_prepare_init(uv_default_loop(), &timer_prepare);
@@ -43,6 +46,7 @@ void event_init()
void event_teardown()
{
+ channel_teardown();
job_teardown();
}