Nodes use events, so event system should be initialised first and destroyed last.
This commit is contained in:
parent
35e4096120
commit
0714ac6c59
5 changed files with 14 additions and 12 deletions
|
|
@ -424,7 +424,7 @@ int main_loop(void)
|
|||
|
||||
while((event = get_expired_event())) {
|
||||
event->handler(event->data);
|
||||
free(event);
|
||||
free_event(event);
|
||||
}
|
||||
|
||||
if(sigalrm) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue