diff options
Diffstat (limited to 'main/autoservice.c')
-rw-r--r-- | main/autoservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/autoservice.c b/main/autoservice.c index 35a66205a..fca180f5c 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -277,7 +277,7 @@ int ast_autoservice_stop(struct ast_channel *chan) /* Now autoservice thread should have no references to our entry and we can safely destroy it */ - if (!chan->_softhangup) { + if (!ast_channel_softhangup_internal_flag(chan)) { res = 0; } |