Skip to content

Commit

Permalink
fix: destroy default ev loop on exit.
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Sep 28, 2023
1 parent 4e5411c commit cd35ad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eco.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,5 +842,7 @@ int main(int argc, char *const argv[])
err:
lua_close(L);

ev_default_destroy();

return error;
}

0 comments on commit cd35ad6

Please sign in to comment.