Skip to content

Commit

Permalink
Remove notify handler from netio when the zone is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoda Rohani committed Aug 17, 2017
1 parent 18c6306 commit f83be27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions signer/src/daemon/engine.c
Expand Up @@ -661,6 +661,8 @@ engine_update_zones(engine_type* engine, ods_status zl_changed)
pthread_mutex_unlock(&zone->zone_lock);
netio_remove_handler(engine->xfrhandler->netio,
&zone->xfrd->handler);
netio_remove_handler(engine->xfrhandler->netio,
&zone->notify->handler);
zone_cleanup(zone);
zone = NULL;
continue;
Expand Down

0 comments on commit f83be27

Please sign in to comment.