aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_modem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_modem.c b/channels/chan_modem.c
index 8be355ea5..a77519324 100644
--- a/channels/chan_modem.c
+++ b/channels/chan_modem.c
@@ -718,7 +718,9 @@ static int restart_monitor()
}
if (monitor_thread != AST_PTHREADT_NULL) {
pthread_kill(monitor_thread, SIGURG);
+#if 0
pthread_join(monitor_thread, NULL);
+#endif
} else {
/* Start a new monitor */
if (ast_pthread_create(&monitor_thread, NULL, do_monitor, NULL) < 0) {