perl plugin: Removed commented code
authorPavel Rochnyack <pavel2000@ngs.ru>
Mon, 30 May 2016 06:00:38 +0000 (12:00 +0600)
committerPavel Rochnyack <pavel2000@ngs.ru>
Mon, 30 May 2016 06:05:25 +0000 (12:05 +0600)
src/perl.c

index b0ab631..5e03e3a 100644 (file)
@@ -2168,11 +2168,6 @@ static int perl_shutdown (void)
                        nanosleep (&ts_wait, NULL);
                }
                if (thr->running) {
-                       /* This will crash collectd process later due to PERL_SYS_TERM() */
-                       //ERROR ("perl shutdown: thread hangs inside perl. "
-                       //       "Skipped perl interpreter destroy.");
-                       //continue;
-                       
                        ERROR ("perl shutdown: thread hangs inside perl. Thread killed.");
                        pthread_kill (thr->pthread, SIGTERM);
                }