572
572
/* First, take us out of the channel loop */
573
573
ast_cli_unregister(&cli_show_features);
574
574
ast_channel_unregister(&features_tech);
575
575
if (!ast_mutex_lock(&featurelock)) {
576
576
/* Hangup all interfaces if they have an owner */
580
580
ast_softhangup(p->owner, AST_SOFTHANGUP_APPUNLOAD);
584
584
ast_mutex_unlock(&featurelock);