diff options
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 0895476a7..f0dbe883e 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -596,7 +596,7 @@ static int statechange_queue(const char *dev, int state, void *ign) strcpy(sc->dev, dev); pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); - if (ast_pthread_create(&t, &attr, changethread, sc)) { + if (ast_pthread_create_background(&t, &attr, changethread, sc)) { ast_log(LOG_WARNING, "Failed to create update thread!\n"); free(sc); } |