diff options
Diffstat (limited to 'lib/tevent')
-rw-r--r-- | lib/tevent/tevent.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c index 63524710da..669b778eb5 100644 --- a/lib/tevent/tevent.c +++ b/lib/tevent/tevent.c @@ -112,6 +112,14 @@ void tevent_set_default_backend(const char *backend) */ static void tevent_backend_init(void) { + static bool done; + + if (done) { + return; + } + + done = true; + tevent_select_init(); tevent_poll_init(); tevent_poll_mt_init(); |