Skip to content

Commit

Permalink
Merge pull request #2286 from oko256/zloop-fix-zsys-init
Browse files Browse the repository at this point in the history
zloop: ensure zsys_init() when creating zloop
  • Loading branch information
sphaero authored Apr 23, 2024
2 parents 4af175a + 2c9ad5c commit e6f0a0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ s_tickless (zloop_t *self)
zloop_t *
zloop_new (void)
{
zsys_init ();

zloop_t *self = (zloop_t *) zmalloc (sizeof (zloop_t));
assert (self);

Expand Down

0 comments on commit e6f0a0f

Please sign in to comment.