diff options
Diffstat (limited to 'channels/chan_phone.c')
-rw-r--r-- | channels/chan_phone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_phone.c b/channels/chan_phone.c index a6e3d7b45..dbf44f9fc 100644 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -1157,7 +1157,7 @@ static int restart_monitor() } monitor = 1; /* Start a new monitor */ - if (ast_pthread_create(&monitor_thread, NULL, do_monitor, NULL) < 0) { + if (ast_pthread_create_background(&monitor_thread, NULL, do_monitor, NULL) < 0) { ast_mutex_unlock(&monlock); ast_log(LOG_ERROR, "Unable to start monitor thread.\n"); return -1; |